aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-05-06 08:57:18 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-05-06 08:57:18 +0000
commit90fbb8c9f5d4013b5826b87431f04cfba772f349 (patch)
tree0274e1c917678996d8d2e68c775870d0f977dd8a /gcc/objc
parent8f81384fec6ccb2bca5a9029498c7b1c0d0326ff (diff)
downloadgcc-90fbb8c9f5d4013b5826b87431f04cfba772f349.zip
gcc-90fbb8c9f5d4013b5826b87431f04cfba772f349.tar.gz
gcc-90fbb8c9f5d4013b5826b87431f04cfba772f349.tar.bz2
More system.h cutover...
* Makefile.in (mips-tfile.o, mips-tdump.o): Depend on system.h. * mips-tdump.c: Include system.h, remove redundant headers. * mips-tfile.c: Likewise. Convert all ctype function calls to macro versions defined in system.h. * objc/Make-lang.in (objc-act.o): Depend on system.h. * objc/objc-act.c: Include system.h, remove redundant headers. From-SVN: r19573
Diffstat (limited to 'gcc/objc')
-rw-r--r--gcc/objc/Make-lang.in2
-rw-r--r--gcc/objc/objc-act.c6
2 files changed, 2 insertions, 6 deletions
diff --git a/gcc/objc/Make-lang.in b/gcc/objc/Make-lang.in
index ebde9d0..cbf52e1 100644
--- a/gcc/objc/Make-lang.in
+++ b/gcc/objc/Make-lang.in
@@ -87,7 +87,7 @@ $(srcdir)/objc/objc-parse.y: $(srcdir)/c-parse.in
$(srcdir)/move-if-change tmp-objc-prs.y $(srcdir)/objc/objc-parse.y
objc-act.o : $(srcdir)/objc/objc-act.c \
- $(CONFIG_H) $(TREE_H) $(RTL_H) \
+ $(CONFIG_H) $(TREE_H) $(RTL_H) system.h \
$(srcdir)/c-tree.h $(srcdir)/c-lex.h \
$(srcdir)/flags.h $(srcdir)/objc/objc-act.h $(srcdir)/input.h \
$(srcdir)/function.h $(srcdir)/output.h $(srcdir)/c-parse.h
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c
index 0f68bd8..463ef69 100644
--- a/gcc/objc/objc-act.c
+++ b/gcc/objc/objc-act.c
@@ -39,10 +39,7 @@ Boston, MA 02111-1307, USA. */
- OBJC_INT_SELECTORS */
#include "config.h"
-#include <stdio.h>
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
+#include "system.h"
#include "tree.h"
#include "c-tree.h"
#include "c-lex.h"
@@ -51,7 +48,6 @@ Boston, MA 02111-1307, USA. */
#include "input.h"
#include "except.h"
#include "function.h"
-#include <string.h>
#include "output.h"
/* This is the default way of generating a method name. */