summaryrefslogtreecommitdiff
path: root/src/flexdef.h
diff options
context:
space:
mode:
authorExplorer09 <explorer09@gmail.com>2017-04-11 02:10:29 +0800
committerWill Estes <westes575@gmail.com>2017-05-02 15:14:25 -0400
commitd4ab90f185e18328b834cb80886b5be15f1019fe (patch)
tree25b02b7ea67a25274888e5a7de488731660df5b5 /src/flexdef.h
parent09697fb269501dc0f3467e77bd4297d785c72aa8 (diff)
Obsolete htoui() and otoui(); use strtoul().
No sense to keep these two function when libc's strtoul() can do the same job, but better.
Diffstat (limited to 'src/flexdef.h')
-rw-r--r--src/flexdef.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/flexdef.h b/src/flexdef.h
index dd643a7..9dac654 100644
--- a/src/flexdef.h
+++ b/src/flexdef.h
@@ -845,9 +845,6 @@ extern void flexfatal(const char *);
}while(0)
#endif /* ! HAVE_DECL___func__ */
-/* Convert a hexadecimal digit string to an integer value. */
-extern unsigned int htoui(unsigned char[]);
-
/* Report an error message formatted */
extern void lerr(const char *, ...)
#if defined(__GNUC__) && __GNUC__ >= 3
@@ -884,9 +881,6 @@ extern int myctoi(const char *);
/* Return character corresponding to escape sequence. */
extern unsigned char myesc(unsigned char[]);
-/* Convert an octal digit string to an integer value. */
-extern unsigned int otoui(unsigned char[]);
-
/* Output a (possibly-formatted) string to the generated scanner. */
extern void out(const char *);
extern void out_dec(const char *, int);