summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-12 18:40:58 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2015-04-12 18:40:58 +0200
commit32d11b1454734c7931b8b0ec98cf5aba1970dde5 (patch)
tree572bf5cb716c952f41040237898bb01c455d1b1b /libc/stdio
parentef9ba4461921ac472ffbb057e7423dfb7331508c (diff)
remove more of the link_warnings
Only the stub warnings left for now.
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/gets.c2
-rw-r--r--libc/stdio/tempnam.c2
-rw-r--r--libc/stdio/tmpnam.c2
-rw-r--r--libc/stdio/tmpnam_r.c1
4 files changed, 0 insertions, 7 deletions
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'")