aboutsummaryrefslogtreecommitdiff
path: root/gcc/genattrtab.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/genattrtab.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/genattrtab.c')
-rw-r--r--gcc/genattrtab.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/genattrtab.c b/gcc/genattrtab.c
index c3c721f..0560e93 100644
--- a/gcc/genattrtab.c
+++ b/gcc/genattrtab.c
@@ -121,6 +121,10 @@ Boston, MA 02111-1307, USA. */
# include <sys/resource.h>
#endif
+#ifdef HAVE_STDLIB_H
+#include <stdlib.h>
+#endif
+
/* We must include obstack.h after <sys/time.h>, to avoid lossage with
/usr/include/sys/stdtypes.h on Sun OS 4.x. */
#include "obstack.h"