summaryrefslogtreecommitdiff
path: root/libc/stdio/tempnam.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdio/tempnam.c')
-rw-r--r--libc/stdio/tempnam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libc/stdio/tempnam.c b/libc/stdio/tempnam.c
index 66c905db8..d2d51daf8 100644
--- a/libc/stdio/tempnam.c
+++ b/libc/stdio/tempnam.c
@@ -42,3 +42,4 @@ tempnam (const char *dir, const char *pfx)
return strdup (buf);
}
+link_warning (tempnam, "the use of OBSOLESCENT `tempnam' is discouraged, use `mkstemp'")