This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
For review: Do not include <unistd.h>
- To: "Insight (GDB GUI)" <insight@sourceware.cygnus.com>
- Subject: For review: Do not include <unistd.h>
- From: Andrew Cagney <ac131313@cygnus.com>
- Date: Mon, 30 Aug 1999 18:55:56 +1000
- Organization: Cygnus Solutions
FYI,
This patch matches a corresponding change to defs.h which is now
#include'ing <unistd.h>.
ok?
Andrew
Mon Aug 30 17:56:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
* gdbtk.c, gdbtk-hooks.c, gdbtk-cmds.c: #include <unistd.h>
moved
to defs.h.
Index: gdbtk.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/gdbtk.c,v
retrieving revision 2.139
diff -p -r2.139 gdbtk.c
*** gdbtk.c 1999/08/28 01:30:08 2.139
--- gdbtk.c 1999/08/30 08:52:54
***************
*** 48,54 ****
#include <signal.h>
#include <fcntl.h>
- #include <unistd.h>
#include "top.h"
#include <sys/ioctl.h>
#include "gdb_string.h"
--- 48,53 ----
Index: gdbtk-hooks.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/gdbtk-hooks.c,v
retrieving revision 2.27
diff -p -r2.27 gdbtk-hooks.c
*** gdbtk-hooks.c 1999/08/07 01:27:45 2.27
--- gdbtk-hooks.c 1999/08/30 08:52:54
***************
*** 49,55 ****
#include <stdarg.h>
#include <signal.h>
#include <fcntl.h>
- #include <unistd.h>
#include "top.h"
#include <sys/ioctl.h>
#include "gdb_string.h"
--- 49,54 ----
Index: gdbtk-cmds.c
===================================================================
RCS file: /cvs/cvsfiles/devo/gdb/gdbtk-cmds.c,v
retrieving revision 2.56
diff -p -r2.56 gdbtk-cmds.c
*** gdbtk-cmds.c 1999/08/28 01:30:09 2.56
--- gdbtk-cmds.c 1999/08/30 08:53:01
***************
*** 47,53 ****
#include <signal.h>
#include <fcntl.h>
- #include <unistd.h>
#include "top.h"
#include <sys/ioctl.h>
#include "gdb_string.h"
--- 47,52 ----