Move ansidecl.h to common-defs.h
This commit moves the inclusion of ansidecl.h to common-defs.h and removes all other inclusions. gdb/ 2014-08-07 Gary Benson <gbenson@redhat.com> * common/common-defs.h: Include ansidecl.h. * defs.h: Do not include ansidecl.h. * common/buffer.h: Likewise. * common/common-utils.h: Likewise. gdb/gdbserver/ 2014-08-07 Gary Benson <gbenson@redhat.com> * server.h: Do not include ansidecl.h.
This commit is contained in:
parent
8ebb3f5606
commit
0e443c875f
7 changed files with 12 additions and 9 deletions
|
@ -1,3 +1,10 @@
|
|||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* common/common-defs.h: Include ansidecl.h.
|
||||
* defs.h: Do not include ansidecl.h.
|
||||
* common/buffer.h: Likewise.
|
||||
* common/common-utils.h: Likewise.
|
||||
|
||||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* common/common-defs.h: Include stddef.h.
|
||||
|
|
|
@ -21,7 +21,6 @@
|
|||
#define BUFFER_H
|
||||
|
||||
#include <string.h>
|
||||
#include "ansidecl.h"
|
||||
|
||||
struct buffer
|
||||
{
|
||||
|
|
|
@ -31,5 +31,6 @@
|
|||
#include <stdlib.h>
|
||||
#include <stdarg.h>
|
||||
#include <stddef.h>
|
||||
#include "ansidecl.h"
|
||||
|
||||
#endif /* COMMON_DEFS_H */
|
||||
|
|
|
@ -20,8 +20,6 @@
|
|||
#ifndef COMMON_UTILS_H
|
||||
#define COMMON_UTILS_H
|
||||
|
||||
#include "ansidecl.h"
|
||||
|
||||
/* If possible, define FUNCTION_NAME, a macro containing the name of
|
||||
the function being defined. Since this macro may not always be
|
||||
defined, all uses must be protected by appropriate macro definition
|
||||
|
|
|
@ -53,11 +53,6 @@
|
|||
|
||||
#include <fcntl.h>
|
||||
|
||||
/* First include ansidecl.h so we can use the various macro definitions
|
||||
here and in all subsequent file inclusions. */
|
||||
|
||||
#include "ansidecl.h"
|
||||
|
||||
#include "gdb_locale.h"
|
||||
|
||||
#include "gdb_wchar.h"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* server.h: Do not include ansidecl.h.
|
||||
|
||||
2014-08-07 Gary Benson <gbenson@redhat.com>
|
||||
|
||||
* linux-x86-low.c: Do not include stddef.h.
|
||||
|
|
|
@ -26,7 +26,6 @@
|
|||
#endif
|
||||
|
||||
#include "libiberty.h"
|
||||
#include "ansidecl.h"
|
||||
#include "version.h"
|
||||
|
||||
#ifdef HAVE_ERRNO_H
|
||||
|
|
Loading…
Reference in a new issue