changeset 21799:7a44b61e263b

Fix -Wimplicit warnings.
author Andreas Schwab <schwab@suse.de>
date Tue, 28 Apr 1998 09:35:07 +0000
parents 98f624ae5507
children d4b4f44ce8da
files src/lread.c
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/lread.c	Tue Apr 28 09:27:02 1998 +0000
+++ b/src/lread.c	Tue Apr 28 09:35:07 1998 +0000
@@ -48,6 +48,10 @@
 #include "msdos.h"
 #endif
 
+#ifdef HAVE_UNISTD_H
+#include <unistd.h>
+#endif
+
 #ifndef X_OK
 #define X_OK 01
 #endif
@@ -1989,7 +1993,7 @@
 isfloat_string (cp)
      register char *cp;
 {
-  register state;
+  register int state;
   
   state = 0;
   if (*cp == '+' || *cp == '-')