]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Quash two memset undeclared warnings.
authorAndreas Jaeger <aj@suse.de>
Tue, 14 Jun 2011 20:11:39 +0000 (13:11 -0700)
committerAndreas Schwab <schwab@redhat.com>
Thu, 16 Jun 2011 08:45:06 +0000 (10:45 +0200)
(cherry picked from commit c71ca1f89c6e89d8c4145e4c2fdcce2fc78812bd)

ChangeLog
nptl/ChangeLog
nptl/pthread_rwlock_init.c
sysdeps/unix/sysv/linux/check_native.c

index db9d5863d405322026d7ffc916da1b9b3e3fc8cf..61655f2f1976b99472d09848499be5b1a3ee7e45 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-06-14  Andreas Jaeger  <aj@suse.de>
+
+       * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
+       memset declaration.
+
 2011-06-10  Andreas Schwab  <schwab@redhat.com>
 
        * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
index 436952d137a80358e7c1b7138c1688f581491e99..e0526fa7b89665472f0699fe2f4538f1d3b89273 100644 (file)
@@ -1,3 +1,7 @@
+2011-06-14  Andreas Jaeger  <aj@suse.de>
+
+       * pthread_rwlock_init.c: Include <string.h> for memset declaration.
+
 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
 
        [BZ #386]
index c0aa194107429588f0c84a7d4ffdf28930dd1b0b..9ecd48c347286b9e9c64d1d8d4a83bb373300b2a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2002, 2007, 2009 Free Software Foundation, Inc.
+/* Copyright (C) 2002,2007,2009,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
 
@@ -18,6 +18,7 @@
    02111-1307 USA.  */
 
 #include "pthreadP.h"
+#include <string.h>
 #include <kernel-features.h>
 
 
index 6e6624abe105d60637280a80915e8e4af8558259..dedce348039c0cb527bd8b76dbd809614f67a83a 100644 (file)
@@ -1,5 +1,5 @@
 /* Determine whether interfaces use native transport.  Linux version.
-   Copyright (C) 2007 Free Software Foundation, Inc.
+   Copyright (C) 2007,2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -23,6 +23,7 @@
 #include <stddef.h>
 #include <stdint.h>
 #include <stdlib.h>
+#include <string.h>
 #include <time.h>
 #include <unistd.h>
 #include <net/if.h>