From 32d11b1454734c7931b8b0ec98cf5aba1970dde5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 12 Apr 2015 18:40:58 +0200 Subject: remove more of the link_warnings Only the stub warnings left for now. --- libc/stdio/gets.c | 2 -- libc/stdio/tempnam.c | 2 -- libc/stdio/tmpnam.c | 2 -- libc/stdio/tmpnam_r.c | 1 - 4 files changed, 7 deletions(-) (limited to 'libc/stdio') diff --git a/libc/stdio/gets.c b/libc/stdio/gets.c index 515e966d1..9f4b751a1 100644 --- a/libc/stdio/gets.c +++ b/libc/stdio/gets.c @@ -7,8 +7,6 @@ #include "_stdio.h" -link_warning(gets, "the 'gets' function is dangerous and should not be used.") - /* UNSAFE FUNCTION -- do not bother optimizing */ /* disable macro, force actual function call */ diff --git a/libc/stdio/tempnam.c b/libc/stdio/tempnam.c index 74bb26ed5..5ef199ef4 100644 --- a/libc/stdio/tempnam.c +++ b/libc/stdio/tempnam.c @@ -40,5 +40,3 @@ tempnam (const char *dir, const char *pfx) return strdup (buf); } - -link_warning (tempnam, "the use of OBSOLESCENT `tempnam' is discouraged, use `mkstemp'") diff --git a/libc/stdio/tmpnam.c b/libc/stdio/tmpnam.c index ffed862c1..52997d365 100644 --- a/libc/stdio/tmpnam.c +++ b/libc/stdio/tmpnam.c @@ -48,5 +48,3 @@ tmpnam (char *s) return s; } - -link_warning (tmpnam, "the use of `tmpnam' is dangerous, better use `mkstemp'") diff --git a/libc/stdio/tmpnam_r.c b/libc/stdio/tmpnam_r.c index bfd60a437..3cc48b094 100644 --- a/libc/stdio/tmpnam_r.c +++ b/libc/stdio/tmpnam_r.c @@ -32,4 +32,3 @@ char * tmpnam_r (char *s) return s; } -link_warning (tmpnam_r, "the use of OBSOLESCENT `tmpnam_r' is discouraged, use `mkstemp'") -- cgit v1.2.3