summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
-rw-r--r--libpthread/linuxthreads/attr.c5
-rw-r--r--libpthread/nptl/pthread_attr_getstackaddr.c3
-rw-r--r--libpthread/nptl/pthread_attr_setstackaddr.c3
11 files changed, 0 insertions, 26 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
diff --git a/libpthread/linuxthreads/attr.c b/libpthread/linuxthreads/attr.c
index a621c2dcc..959ffda99 100644
--- a/libpthread/linuxthreads/attr.c
+++ b/libpthread/linuxthreads/attr.c
@@ -172,9 +172,6 @@ int __pthread_attr_setstackaddr(pthread_attr_t *attr, void *stackaddr)
}
weak_alias (__pthread_attr_setstackaddr, pthread_attr_setstackaddr)
-link_warning (pthread_attr_setstackaddr,
- "the use of `pthread_attr_setstackaddr' is deprecated, use `pthread_attr_setstack'")
-
int __pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr)
{
/* XXX This function has a stupid definition. The standard specifies
@@ -185,8 +182,6 @@ int __pthread_attr_getstackaddr(const pthread_attr_t *attr, void **stackaddr)
}
weak_alias (__pthread_attr_getstackaddr, pthread_attr_getstackaddr)
-link_warning (pthread_attr_getstackaddr,
- "the use of `pthread_attr_getstackaddr' is deprecated, use `pthread_attr_getstack'")
#endif
diff --git a/libpthread/nptl/pthread_attr_getstackaddr.c b/libpthread/nptl/pthread_attr_getstackaddr.c
index 41a0202a0..272a4c0b9 100644
--- a/libpthread/nptl/pthread_attr_getstackaddr.c
+++ b/libpthread/nptl/pthread_attr_getstackaddr.c
@@ -39,6 +39,3 @@ __pthread_attr_getstackaddr (
return 0;
}
strong_alias (__pthread_attr_getstackaddr, pthread_attr_getstackaddr)
-
-link_warning (pthread_attr_getstackaddr,
- "the use of `pthread_attr_getstackaddr' is deprecated, use `pthread_attr_getstack'")
diff --git a/libpthread/nptl/pthread_attr_setstackaddr.c b/libpthread/nptl/pthread_attr_setstackaddr.c
index 5425004fd..253e8f7bb 100644
--- a/libpthread/nptl/pthread_attr_setstackaddr.c
+++ b/libpthread/nptl/pthread_attr_setstackaddr.c
@@ -41,6 +41,3 @@ __pthread_attr_setstackaddr (
return 0;
}
strong_alias (__pthread_attr_setstackaddr, pthread_attr_setstackaddr)
-
-link_warning (pthread_attr_setstackaddr,
- "the use of `pthread_attr_setstackaddr' is deprecated, use `pthread_attr_setstack'")