From 7c721d31e4b7a0bdf6f803b8e7c38996bf60b59f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Sun, 29 Jan 2012 17:48:54 +0100 Subject: tmpnam, tempnam are obsolete in SUSV4 Signed-off-by: Bernhard Reutner-Fischer --- libc/stdio/tempnam.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/stdio/tempnam.c') 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'") -- cgit v1.2.3