mirror of https://github.com/ArduPilot/ardupilot
AP_Filesystem: remove dependency on tmpnam
tmpnam is never linked and not necessary, and naming it/redefining it introduces problems on platforms that do have a definition.
This commit is contained in:
parent
8b63488431
commit
380d8ca6fc
|
@ -58,7 +58,6 @@ long apfs_ftell(APFS_FILE *stream);
|
||||||
APFS_FILE *apfs_freopen(const char *pathname, const char *mode, APFS_FILE *stream);
|
APFS_FILE *apfs_freopen(const char *pathname, const char *mode, APFS_FILE *stream);
|
||||||
int apfs_remove(const char *pathname);
|
int apfs_remove(const char *pathname);
|
||||||
int apfs_rename(const char *oldpath, const char *newpath);
|
int apfs_rename(const char *oldpath, const char *newpath);
|
||||||
char *tmpnam(char s[L_tmpnam]);
|
|
||||||
|
|
||||||
#undef stdin
|
#undef stdin
|
||||||
#undef stdout
|
#undef stdout
|
||||||
|
|
Loading…
Reference in New Issue