AP_Filesystem: fixed warning with tmpnam

This commit is contained in:
Andrew Tridgell 2022-05-05 18:53:38 +10:00
parent 21cd4f1976
commit e6540681f2

View File

@ -50,7 +50,7 @@ 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); char *tmpnam(char s[L_tmpnam]);
#undef stdin #undef stdin
#undef stdout #undef stdout