diff options
author | Tom Tromey <tromey@redhat.com> | 2013-11-06 07:36:46 -0700 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-18 13:29:01 -0700 |
commit | 161d1bec16764585e987c8d804df0fb560a0d491 (patch) | |
tree | 57fe668db971f2368399a241b9e4effec80b7167 /gdb/config.in | |
parent | 2978b11100a6318e05b8bc2d7923d9f735ef5c6e (diff) | |
download | gdb-161d1bec16764585e987c8d804df0fb560a0d491.zip gdb-161d1bec16764585e987c8d804df0fb560a0d491.tar.gz gdb-161d1bec16764585e987c8d804df0fb560a0d491.tar.bz2 |
don't check for stddef.h
gdb already unconditionally includes stddef.h in many places.
I think there is no reason to check for its existence.
Also, Zack Weinberg's header file survey agrees:
http://hacks.owlfolio.org/header-survey/
This patch removes the configure check and the inclusion guards.
It also removes a redundant inclusion that I noticed in defs.h.
2013-11-18 Tom Tromey <tromey@redhat.com>
* config.in: Rebuild.
* configure: Rebuild.
* configure.ac: Don't check for stddef.h.
* defs.h: Unconditionally include stddef.h. Remove duplicate
inclusion.
Diffstat (limited to 'gdb/config.in')
-rw-r--r-- | gdb/config.in | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gdb/config.in b/gdb/config.in index 4e3f6de..802127f 100644 --- a/gdb/config.in +++ b/gdb/config.in @@ -378,9 +378,6 @@ /* Define to 1 if the system has the type `socklen_t'. */ #undef HAVE_SOCKLEN_T -/* Define to 1 if you have the <stddef.h> header file. */ -#undef HAVE_STDDEF_H - /* Define to 1 if you have the <stdint.h> header file. */ #undef HAVE_STDINT_H |