summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-11-30 00:01:21 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-11-30 00:01:21 +0000
commite982c14bc34a48529ca0db1c016a768cce01e115 (patch)
treebdf201b23b9ec594b4e05704e2119b2e664b10a8 /error.c
parent53280ebcfd46a129f34d6853a093c3cb425a068a (diff)
2006-11-29 Thomas Schwinge <tschwinge@gnu.org>
Fix compiler, flex and bison warnings. * error.c: Include <stdlib.h>. * lexxer.h (yylex): Add declaration. * migcom.c: Include <stdlib.h>. (main): Set USER, SHEADER and IHEADER to `NULL' by default. (myfclose): Add lost conversion specifications. * parser.h (yyerror): Add declaration. * routine.c (rtPrintArg, rtCheckRoutine): Add braces to avoid ambiguousness. * server.c (WriteSymTabEntries): Make NUM an `u_int'. * user.c (WriteUserIndividual): Add a `default' case in a switch statement and add lost conversion specifications. * lexxer.l: Set option `nounput'. * parser.y (%left): Change commas to spaces.
Diffstat (limited to 'error.c')
-rw-r--r--error.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/error.c b/error.c
index ae97143..235603b 100644
--- a/error.c
+++ b/error.c
@@ -26,6 +26,7 @@
#include <stdio.h>
#include <stdarg.h>
+#include <stdlib.h>
#include "global.h"
#include "error.h"