Revert "Move use of __warnattr to __deprecated."

This reverts commit 4645c4f62d.

Change-Id: I6c1062d54a4e2c4f41ce7a403e4e7840e6339146
This commit is contained in:
Yabin Cui
2015-02-17 23:54:40 +00:00
parent 4645c4f62d
commit 784de4e50a
3 changed files with 8 additions and 12 deletions

View File

@@ -58,7 +58,7 @@ extern int unsetenv(const char*);
extern int clearenv(void);
extern char* mkdtemp(char*);
extern char* mktemp(char*) __deprecated("mktemp possibly used unsafely; consider using mkstemp");
extern char* mktemp(char*) __warnattr("mktemp possibly used unsafely; consider using mkstemp");
extern int mkostemp64(char*, int);
extern int mkostemp(char*, int);