mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
CI: add atof() to banned list
This commit is contained in:
parent
b41af54a1b
commit
6fe3df34ca
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
banned="malloc,g_strcmp0,sprintf,vsprintf,strcpy,strncpy,strcat,strncat"
|
banned="malloc,g_strcmp0,sprintf,vsprintf,strcpy,strncpy,strcat,strncat,atof"
|
||||||
|
|
||||||
|
echo "Searching for banned functions"
|
||||||
find src/ include/ \( -name "*.c" -o -name "*.h" \) -type f \
|
find src/ include/ \( -name "*.c" -o -name "*.h" \) -type f \
|
||||||
| ./scripts/helper/find-idents --tokens=$banned -
|
| ./scripts/helper/find-idents --tokens=$banned -
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue