summaryrefslogtreecommitdiff
path: root/libc/stdio/tmpnam_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/tmpnam_r.c')
-rw-r--r--libc/stdio/tmpnam_r.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/tmpnam_r.c b/libc/stdio/tmpnam_r.c
index 8f616b273..2b93ae6a0 100644
--- a/libc/stdio/tmpnam_r.c
+++ b/libc/stdio/tmpnam_r.c
@@ -33,3 +33,4 @@ char * tmpnam_r (char *s)
return s;
}
+link_warning (tmpnam_r, "the use of OBSOLESCENT `tmpnam_r' is discouraged, use `mkstemp'")