summary refs log tree commit diff
path: root/stdlib
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2014-09-08 13:49:36 +0200
committerFlorian Weimer <fweimer@redhat.com>2014-09-10 08:13:06 +0200
commite6fb95871cd3557e5882a6f969c11bc6a3cbe781 (patch)
treee5aed138cf0ff10eeea2feb824f9fc3af7e2d5b2 /stdlib
parent9d3a350b4951351b3d821e8138293470de12abb2 (diff)
downloadglibc-e6fb95871cd3557e5882a6f969c11bc6a3cbe781.tar.gz
glibc-e6fb95871cd3557e5882a6f969c11bc6a3cbe781.tar.xz
glibc-e6fb95871cd3557e5882a6f969c11bc6a3cbe781.zip
Turn on -Werror=implicit-function-declaration
GCC 4.4, the minimum compiler version, supports this option.  Unlike
other warnings, -Wimplicit-function-declaration warnings should be
independent of compiler versions, so this change should not cause
compiler-specific build failures.
Diffstat (limited to 'stdlib')
-rw-r--r--stdlib/tst-tls-atexit-lib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/tst-tls-atexit-lib.c b/stdlib/tst-tls-atexit-lib.c
index 964f94b276..b67d62fb9e 100644
--- a/stdlib/tst-tls-atexit-lib.c
+++ b/stdlib/tst-tls-atexit-lib.c
@@ -16,6 +16,8 @@
    License along with the GNU C Library; if not, see
    <http://www.gnu.org/licenses/>.  */
 
+#include <stdlib.h>
+
 extern void *__dso_handle;
 
 typedef struct