This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".
The branch, 1.0 has been updated
via 32d11b1454734c7931b8b0ec98cf5aba1970dde5 (commit)
via ef9ba4461921ac472ffbb057e7423dfb7331508c (commit)
from cd5f92704e1e17bbc0c15d197f3bc236c7dc9bf2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 32d11b1454734c7931b8b0ec98cf5aba1970dde5
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sun Apr 12 18:40:58 2015 +0200
remove more of the link_warnings
Only the stub warnings left for now.
commit ef9ba4461921ac472ffbb057e7423dfb7331508c
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sun Apr 12 18:32:11 2015 +0200
remove link warnings
As recently discussed on the pgsql mailinglist, this
warnings are more or less useless and some configure scripts
are failing when these warnings are enabled.
http://www.postgresql.org/message-id/20150320132351.GS3636@alvh.no-ip.org
-----------------------------------------------------------------------
Summary of changes:
libc/inet/resolv.c | 4 ----
libc/signal/siggetmask.c | 3 ---
libc/stdio/gets.c | 2 --
libc/stdio/tempnam.c | 2 --
libc/stdio/tmpnam.c | 2 --
libc/stdio/tmpnam_r.c | 1 -
libc/stdlib/mktemp.c | 2 --
libc/string/sys_errlist.c | 2 --
libc/sysdeps/linux/common/utime.c | 1 -
libpthread/linuxthreads/attr.c | 5 -----
libpthread/nptl/pthread_attr_getstackaddr.c | 3 ---
libpthread/nptl/pthread_attr_setstackaddr.c | 3 ---
12 files changed, 30 deletions(-)
diff --git a/libc/inet/resolv.c b/libc/inet/resolv.c
index 31e6381..fffe428 100644
--- a/libc/inet/resolv.c
+++ b/libc/inet/resolv.c
@@ -2178,7 +2178,6 @@ int gethostbyname_r(const char *name,
return i;
}
libc_hidden_def(gethostbyname_r)
-link_warning(gethostbyname_r, "gethostbyname_r is obsolescent, use getnameinfo()
instead.");
#endif /* L_gethostbyname_r */
@@ -2496,7 +2495,6 @@ int gethostbyaddr_r(const void *addr, socklen_t addrlen,
#undef in6
}
libc_hidden_def(gethostbyaddr_r)
-link_warning(gethostbyaddr_r, "gethostbyaddr_r is obsolescent, use getaddrinfo()
instead.");
#endif /* L_gethostbyaddr_r */
@@ -2616,7 +2614,6 @@ struct hostent *gethostbyname(const char *name)
#endif
}
libc_hidden_def(gethostbyname)
-link_warning(gethostbyname, "gethostbyname is obsolescent, use getnameinfo()
instead.");
#endif /* L_gethostbyname */
@@ -2638,7 +2635,6 @@ struct hostent *gethostbyaddr(const void *addr, socklen_t len, int
type)
return hp;
}
libc_hidden_def(gethostbyaddr)
-link_warning(gethostbyaddr, "gethostbyaddr is obsolescent, use getaddrinfo()
instead.");
#endif /* L_gethostbyaddr */
diff --git a/libc/signal/siggetmask.c b/libc/signal/siggetmask.c
index ce8f402..c05a53c 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 515e966..9f4b751 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 74bb26e..5ef199e 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 ffed862..52997d3 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 bfd60a4..3cc48b0 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 1ff93da..4035966 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 17ed4d6..682ff0e 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 886d23a..a2ce8a5 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 a621c2d..959ffda 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 41a0202..272a4c0 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 5425004..253e8f7 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'")
hooks/post-receive
--
uClibc-ng - small C library for embedded systems