aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorRobert Lipe <robertl@dgii.com>1998-02-07 22:55:54 +0000
committerJeff Law <law@gcc.gnu.org>1998-02-07 15:55:54 -0700
commitccd043a9567fdbb092524a5f767066c19152df46 (patch)
tree4653e3f8759069cc25169a6b0035d7270415f293 /gcc/dbxout.c
parent6553db017bb3ef9575c4fe8883a6a5ee89f5c620 (diff)
downloadgcc-ccd043a9567fdbb092524a5f767066c19152df46.zip
gcc-ccd043a9567fdbb092524a5f767066c19152df46.tar.gz
gcc-ccd043a9567fdbb092524a5f767066c19152df46.tar.bz2
c-common.c: Include <stdlib.h> and <string.h>/<strings.h>.
* 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. From-SVN: r17766
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index a1d828f..7fa9139 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -72,6 +72,14 @@ Boston, MA 02111-1307, USA. */
#include <stdio.h>
#include <errno.h>
+#ifdef HAVE_STRING_H
+#include <string.h>
+#else
+#ifdef HAVE_STRINGS_H
+#include <strings.h>
+#endif
+#endif
+
#include "tree.h"
#include "rtl.h"
#include "flags.h"