about summary refs log tree commit diff
path: root/libio/stdio.h
diff options
context:
space:
mode:
Diffstat (limited to 'libio/stdio.h')
-rw-r--r--libio/stdio.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libio/stdio.h b/libio/stdio.h
index e78c33ba8b..00b7d879d6 100644
--- a/libio/stdio.h
+++ b/libio/stdio.h
@@ -156,7 +156,8 @@ extern char *tmpnam_r (char *__s) __THROW;
    If not and if DIR is not NULL, that value is checked.  If that fails,
    P_tmpdir is tried and finally "/tmp".  The storage for the filename
    is allocated by `malloc'.  */
-extern char *tempnam (__const char *__dir, __const char *__pfx) __THROW;
+extern char *tempnam (__const char *__dir, __const char *__pfx)
+     __THROW __attribute_malloc__;
 #endif