]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix -Wundef warning for HAVE_OBSTACK
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 10 Jul 2014 08:48:13 +0000 (14:18 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 10 Jul 2014 08:48:13 +0000 (14:18 +0530)
Remove the HAVE_OBSTACK macro check and include obstack check in
include path order since we don't have a copy of obstack.h in the
current directory.

ChangeLog
locale/programs/simple-hash.c

index 72e9cf9e2809a1a8f9d251683ef43f8e9ff72b69..dc0b76c236bd507c9a88ecd887d98452e21b1e86 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+       * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
+
        [BZ #17125]
        * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
        libc_freeres_ptr.
index ef371a080c7992166faa2bb57278da18e90f2e12..666e303eb4525b7d9cbf852cb88282f535d92d41 100644 (file)
 #include <stdint.h>
 #include <sys/types.h>
 
-#if HAVE_OBSTACK
-# include <obstack.h>
-#else
-# include "obstack.h"
-#endif
+#include <obstack.h>
 
 #ifdef HAVE_VALUES_H
 # include <values.h>