summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
Diffstat (limited to 'libc')
-rw-r--r--libc/signal/siggetmask.c3
-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
-rw-r--r--libc/stdlib/mktemp.c2
-rw-r--r--libc/string/sys_errlist.c2
-rw-r--r--libc/sysdeps/linux/common/utime.c1
8 files changed, 0 insertions, 15 deletions
diff --git a/libc/signal/siggetmask.c b/libc/signal/siggetmask.c
index ce8f40289..c05a53c48 100644
--- a/libc/signal/siggetmask.c
+++ b/libc/signal/siggetmask.c
@@ -24,6 +24,3 @@ siggetmask (void)
{
return sigblock (0);
}
-
-link_warning (siggetmask,
- "warning: `siggetmask' is obsolete; `sigprocmask' is best")
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'")
diff --git a/libc/stdlib/mktemp.c b/libc/stdlib/mktemp.c
index 1ff93da3c..403596645 100644
--- a/libc/stdlib/mktemp.c
+++ b/libc/stdlib/mktemp.c
@@ -30,5 +30,3 @@ char *mktemp(char *template)
return template;
}
-
-link_warning(mktemp, "the use of `mktemp' is dangerous, better use `mkstemp'")
diff --git a/libc/string/sys_errlist.c b/libc/string/sys_errlist.c
index 17ed4d62c..682ff0e7e 100644
--- a/libc/string/sys_errlist.c
+++ b/libc/string/sys_errlist.c
@@ -12,8 +12,6 @@ extern const char _string_syserrmsgs[] attribute_hidden;
#ifdef __UCLIBC_HAS_SYS_ERRLIST__
-link_warning(_sys_errlist, "sys_nerr and sys_errlist are obsolete and uClibc support for them (in at least some configurations) will probably be unavailable in the near future.")
-
const char *const sys_errlist[] = {
[0] = _string_syserrmsgs + 0,
[EPERM] = _string_syserrmsgs + 8,
diff --git a/libc/sysdeps/linux/common/utime.c b/libc/sysdeps/linux/common/utime.c
index 886d23a49..a2ce8a5d5 100644
--- a/libc/sysdeps/linux/common/utime.c
+++ b/libc/sysdeps/linux/common/utime.c
@@ -54,6 +54,5 @@ int utime(const char *file, const struct utimbuf *times)
#if (defined __NR_utimensat && !defined __NR_utime) || \
defined __NR_utime || defined __NR_utimes
-link_warning(utime, "the use of OBSOLESCENT `utime' is discouraged, use `utimes'")
libc_hidden_def(utime)
#endif