summaryrefslogtreecommitdiff
path: root/gcc/prefix.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-07 22:55:54 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-02-07 22:55:54 +0000
commit3ef9782d37366cbfcab1b7f47e68771e71f1b728 (patch)
tree4653e3f8759069cc25169a6b0035d7270415f293 /gcc/prefix.c
parent620542d5ec1167b92f70cdc6d24c15ccc3270d03 (diff)
downloadgcc-3ef9782d37366cbfcab1b7f47e68771e71f1b728.tar.gz
* c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* calls.c (expand_call): Remove unused variables funtree, n_regs, and tmpmode. * dbxout.c, except.c: Include <string.h>/<strings.h>. * explow.c: (plus_constant_for_output_wide) Removed unused variable all_constant. * c-decl.c, genattr.c, genattrtab.c, getconfig.c, genemit.c genextract.c, genflags.c, genopinit.c genoutput.c, genpeep.c, genrecog.c, global.c, integrate.c , stupid.c : Include <stdlib.h>. * genextract.c: (walk_rtx) Remove unused variable link. * genrecog.c: (concat) Remove unreferenced static function. * prefix.c: Include <string.h>/<strings.h>, <stdlib.h> * stmt.c: Include <stdlib.h>. (expand_asm_operands): Remove unused variable val1. (expand_return): Remove unused variable block. (pushcase): Remove unused variables l and n. (pushcaserange): Likewise. * unroll.c (unroll_loop): Remove unused variable temp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17766 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/prefix.c')
-rw-r--r--gcc/prefix.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/prefix.c b/gcc/prefix.c
index bf501c74391..09f4f193c4e 100644
--- a/gcc/prefix.c
+++ b/gcc/prefix.c
@@ -71,6 +71,18 @@ Boston, MA 02111-1307, USA. */
#include <varargs.h>
#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
#ifdef _WIN32
#include <windows.h>
#endif