aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/m4/mdef.h
diff options
context:
space:
mode:
authorJuli Mallett <jmallett@FreeBSD.org>2002-04-20 01:49:10 +0000
committerJuli Mallett <jmallett@FreeBSD.org>2002-04-20 01:49:10 +0000
commitccc5b4e6f4e2cc1a1fb4acfaa8dae6db269b3f6e (patch)
tree9d6147d43f9f794cfc750ecb3f50fb216c889a70 /usr.bin/m4/mdef.h
parent5ce9299f0551f4f6ceeea4e3efaa3a51f30438fc (diff)
Notes
Diffstat (limited to 'usr.bin/m4/mdef.h')
-rw-r--r--usr.bin/m4/mdef.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/usr.bin/m4/mdef.h b/usr.bin/m4/mdef.h
index 46ec643320ee7..183f7539c9556 100644
--- a/usr.bin/m4/mdef.h
+++ b/usr.bin/m4/mdef.h
@@ -145,7 +145,7 @@ struct ndblock { /* hastable structure */
#define nil ((ndptr) 0)
struct keyblk {
- char *knam; /* keyword name */
+ const char *knam; /* keyword name */
int ktyp; /* keyword type */
};
@@ -166,13 +166,9 @@ struct input_file {
/*
* macros for readibility and/or speed
*
- * gpbc() - get a possibly pushed-back character
* pushf() - push a call frame entry onto stack
* pushs() - push a string pointer onto stack
*/
-#define gpbc() (bp > bufbase) ? (*--bp ? (*bp & 0xFF) : EOF) : \
- ((chscratch = obtain_char(infile+ilevel)) == '\n' && \
- ++inlineno[ilevel], chscratch)
#define pushf(x) \
do { \
if (++sp == STACKMAX) \