public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf9b03
)
don't use stdio.h
author
ceriel
<none@none>
Tue, 5 Jul 1988 10:53:53 +0000
(10:53 +0000)
committer
ceriel
<none@none>
Tue, 5 Jul 1988 10:53:53 +0000
(10:53 +0000)
lang/basic/src/basic.lex
patch
|
blob
|
history
lang/basic/src/bem.h
patch
|
blob
|
history
diff --git
a/lang/basic/src/basic.lex
b/lang/basic/src/basic.lex
index
e9e1118
..
3af7a4e
100644
(file)
--- a/
lang/basic/src/basic.lex
+++ b/
lang/basic/src/basic.lex
@@
-225,7
+225,7
@@
File *stream;
if ( characters_left == 0 ) { /* Nothing read */
if ( external_bufp == buffer ) {
*external_bufp = '\0';
- return(
NULL
); /* EOF */
+ return(
0
); /* EOF */
} else { /* Something was already copied */
*external_bufp = '\0';
return(buffer);
@@
-241,7
+241,7
@@
getline()
{
/* get next input line */
- if ( our_fgets(inputline,MAXLINELENGTH,yyin) ==
NULL
)
+ if ( our_fgets(inputline,MAXLINELENGTH,yyin) ==
0
)
return(FALSE);
yylineno ++;
if ( strindex(inputline,'\n') == 0)
diff --git
a/lang/basic/src/bem.h
b/lang/basic/src/bem.h
index
fdcccae
..
b0d41e9
100644
(file)
--- a/
lang/basic/src/bem.h
+++ b/
lang/basic/src/bem.h
@@
-3,7
+3,6
@@
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
-#include <stdio.h>
#include <ctype.h>
#include <signal.h>
#include <system.h>