aboutsummaryrefslogtreecommitdiff
path: root/gas/as.c
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@cygnus>1994-08-28 07:59:06 +0000
committerKen Raeburn <raeburn@cygnus>1994-08-28 07:59:06 +0000
commitb11fb93989a2d454f91f5856140404aef9e2a7fb (patch)
tree1379288f1e7c79a2d5e69b1b15d0723ed0cfcb7b /gas/as.c
parent27bf48ecfe6cba627caa949e65c2e47b75fffd50 (diff)
downloadgdb-b11fb93989a2d454f91f5856140404aef9e2a7fb.zip
gdb-b11fb93989a2d454f91f5856140404aef9e2a7fb.tar.gz
gdb-b11fb93989a2d454f91f5856140404aef9e2a7fb.tar.bz2
Conversion to autoconf:
* acconfig.h, aclocal.m4: New files. * configure.in: Rewritten (except for some target-specific code) for autoconf. * conf.in, configure: New files, generated from the above. * Makefile.in: Changed magic sequence indicating insertion of makefile fragments. (VPATH, srcdir, CC, LIBS, OBJS dependencies): Use @-substitutions from configure. (LINKED_HEADERS): Deleted a.out.gnu.h, a.out.h, and host.h. (config.status, configure): Rewrite rules. (config-stamp): Depend on conf. Skip variables that configure is now substituting itself. (*.o dependencies): Deleted host.h. (distclean, realclean): Don't delete host.h. * as.c: Don't include stdio.h, string.h, sys/types.h. Include signal.h after as.h. * as.h: Include alloca-conf.h first. Include ctype.h, string.h, strings.h, stdlib.h, unistd.h, sys/types.h, fopen-bin.h, fopen-same.h, as suggested by autoconf test results. [BROKEN_ASSERT]: Don't include assert.h. (strdup): Declare. (volatile, const): Define if not __STDC__ and not already defined. (malloc, realloc) [NEED_MALLOC_DECLARATION]: Declare. (free) [NEED_FREE_DECLARATION]: Declare. * gasp.c: Include config.h, stdlib.h (if HAVE_STDLIB_H). Don't include host.h. (malloc) [NEED_MALLOC_DECLARATION]: Declare. * messages.c: Include as.h first. Include errno.h only if HAVE_ERRNO_H. If HAVE_VARARGS_H and not __STDC__, undefine HAVE_STDARG_H. Set NO_STDARG and NO_VARARGS as appropriate. * doc/Makefile.in (srcdir, INSTALL, INSTALL_PROGRAM, INSTALL_DATA): Use autoconf @-substitutions.
Diffstat (limited to 'gas/as.c')
-rw-r--r--gas/as.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/gas/as.c b/gas/as.c
index 1694fd5..53613e9 100644
--- a/gas/as.c
+++ b/gas/as.c
@@ -35,20 +35,14 @@
#include "ansidecl.h"
#include "libiberty.h"
-#include <stdio.h>
-#include <string.h>
-
-#ifdef _POSIX_SOURCE
-#include <sys/types.h> /* For pid_t in signal.h */
-#endif
-#include <signal.h>
-
#define COMMON
#include "as.h"
#include "subsegs.h"
#include "output-file.h"
+#include <signal.h>
+
#ifndef SIGTY
#ifdef __STDC__
#define SIGTY void