summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordawes <dawes>1994-06-05 13:40:20 +0000
committerdawes <dawes>1994-06-05 13:40:20 +0000
commitb1723f6397232d473ed2194b7e192d85b38fb88a (patch)
tree5bafd78114ad975852809397ee02772831298b0d
parentdebfa60d4867c003ec7ed5bcc5f677a6800c666e (diff)
update to atof() prototyping
-rw-r--r--fonts/PEX/lex.l8
1 files changed, 2 insertions, 6 deletions
diff --git a/fonts/PEX/lex.l b/fonts/PEX/lex.l
index b8270aa1f..df5663ec4 100644
--- a/fonts/PEX/lex.l
+++ b/fonts/PEX/lex.l
@@ -1,6 +1,6 @@
%{
/* $XConsortium: lex.l,v 5.6 94/04/17 20:10:07 rws Exp $ */
-/* $XFree86: xc/fonts/PEX/lex.l,v 3.0 1994/04/28 12:29:49 dawes Exp $ */
+/* $XFree86: xc/fonts/PEX/lex.l,v 3.1 1994/05/21 23:42:11 dawes Exp $ */
/*****************************************************************
@@ -53,15 +53,11 @@ SOFTWARE.
#include <ctype.h>
#include <math.h>
-#if defined(__bsdi__) || defined(__FreeBSD__) || defined(__386BSD__) || defined(__NetBSD__)
+#if !defined(X_NOT_STDC_ENV) || defined(SCO)
#include <stdlib.h>
#endif
#include "to_wfont.h"
-#if (defined(ISC) || defined(SCO)) && defined(SYSV) && defined(SYSV386) && __STDC__
-extern double atof(char *);
-#endif
-
#ifdef linux
int yywrap() { return 1; }
#endif