mirror of https://github.com/ArduPilot/ardupilot
waf: wrap more libc functions
This commit is contained in:
parent
c2b06a3293
commit
c90b937972
|
@ -369,8 +369,9 @@ def build(bld):
|
||||||
# implement anywhere (the FILE* functions). This allows us to get link
|
# implement anywhere (the FILE* functions). This allows us to get link
|
||||||
# errors if we accidentially try to use one of those functions either
|
# errors if we accidentially try to use one of those functions either
|
||||||
# directly or via another libc call
|
# directly or via another libc call
|
||||||
wraplist = ['sscanf', 'snprintf', 'vsnprintf',
|
wraplist = ['sscanf', 'fprintf', 'snprintf', 'vsnprintf','vasprintf','asprintf','vprintf','scanf',
|
||||||
'fopen', 'fread', 'fprintf', 'fflush', 'fwrite', 'fread', 'fputs', 'fgets',
|
'fiprintf','printf',
|
||||||
|
'fopen', 'fread', 'fflush', 'fwrite', 'fread', 'fputs', 'fgets',
|
||||||
'clearerr', 'fseek', 'ferror', 'fclose', 'tmpfile', 'getc', 'ungetc', 'feof',
|
'clearerr', 'fseek', 'ferror', 'fclose', 'tmpfile', 'getc', 'ungetc', 'feof',
|
||||||
'ftell', 'freopen', 'remove', 'vfprintf', 'fscanf' ]
|
'ftell', 'freopen', 'remove', 'vfprintf', 'fscanf' ]
|
||||||
for w in wraplist:
|
for w in wraplist:
|
||||||
|
|
Loading…
Reference in New Issue