Move pathmax.h to common-defs.h

This commit moves the inclusion of pathmax.h to common-defs.h and
removes all other inclusions.

gdb/
2014-08-07  Gary Benson  <gbenson@redhat.com>

	* common/common-defs.h: Include pathmax.h.
	* defs.h: Do not include pathmax.h.

gdb/gdbserver/
2014-08-07  Gary Benson  <gbenson@redhat.com>

	* server.h: Do not include pathmax.h.
This commit is contained in:
Gary Benson 2014-07-28 14:04:00 +01:00
parent b939114242
commit a5fceff840
5 changed files with 10 additions and 6 deletions

View file

@ -1,3 +1,8 @@
2014-08-07 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include pathmax.h.
* defs.h: Do not include pathmax.h.
2014-08-07 Gary Benson <gbenson@redhat.com>
* common/common-defs.h: Include libiberty.h.

View file

@ -33,5 +33,6 @@
#include <stddef.h>
#include "ansidecl.h"
#include "libiberty.h"
#include "pathmax.h"
#endif /* COMMON_DEFS_H */

View file

@ -48,9 +48,6 @@
#include <unistd.h>
/* For gnulib's PATH_MAX. */
#include "pathmax.h"
#include <fcntl.h>
#include "gdb_locale.h"

View file

@ -1,3 +1,7 @@
2014-08-07 Gary Benson <gbenson@redhat.com>
* server.h: Do not include pathmax.h.
2014-08-07 Gary Benson <gbenson@redhat.com>
* server.h: Do not include libiberty.h.

View file

@ -32,9 +32,6 @@
#endif
#include <setjmp.h>
/* For gnulib's PATH_MAX. */
#include "pathmax.h"
#include <string.h>
#ifdef HAVE_ALLOCA_H