Skip to content

Commit

Permalink
Remove ncgen strtol hack
Browse files Browse the repository at this point in the history
strtol() is C89
  • Loading branch information
derobins committed Feb 21, 2024
1 parent e8d455c commit 07c05d6
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion mfhdf/ncgen/ncgen.l
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
/* lex specification for tokens for ncgen */

char errstr[100]; /* for short error messages */
extern long strtol();
void expand_escapes();

#include <ctype.h>
Expand Down
1 change: 0 additions & 1 deletion mfhdf/ncgen/ncgenyy.c
Original file line number Diff line number Diff line change
Expand Up @@ -642,7 +642,6 @@ char *yytext;
/* lex specification for tokens for ncgen */

char errstr[100]; /* for short error messages */
extern long strtol();
void expand_escapes();

#include <string.h>
Expand Down

0 comments on commit 07c05d6

Please sign in to comment.