summaryrefslogtreecommitdiff
path: root/usr.bin/m4/extern.h
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2005-05-29 18:44:37 +0000
committerMarc Espie <espie@cvs.openbsd.org>2005-05-29 18:44:37 +0000
commite3bec23801625290db4be31b65ff84ec71c78a40 (patch)
tree810f382e963f8624d80b38ccce29a27cc5a8f76f /usr.bin/m4/extern.h
parentecd0e847cc9b1f379243478ab2c1443cca6b79e8 (diff)
fix a few minor compatibility issues.
- let eval() handle a base and number of digits, like it's advertized to. - in gnu-mode, undivert can take file names as arguments. - in gnu-mode, map can handle reversed charsets. Suggestions and okay otto@, mostly prompted by looking at the regress tests in newer gnu-m4.
Diffstat (limited to 'usr.bin/m4/extern.h')
-rw-r--r--usr.bin/m4/extern.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h
index b8d87281ad8..2ee7924863d 100644
--- a/usr.bin/m4/extern.h
+++ b/usr.bin/m4/extern.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: extern.h,v 1.40 2005/03/02 10:12:15 espie Exp $ */
+/* $OpenBSD: extern.h,v 1.41 2005/05/29 18:44:36 espie Exp $ */
/* $NetBSD: extern.h,v 1.3 1996/01/13 23:25:24 pk Exp $ */
/*-
@@ -55,6 +55,7 @@ extern void doprintlineno(struct input_file *);
extern void doprintfilename(struct input_file *);
extern void doesyscmd(const char *);
+extern void getdivfile(const char *);
/* look.c */
@@ -96,6 +97,7 @@ extern void initspaces(void);
extern void killdiv(void);
extern void onintr(int);
extern void pbnum(int);
+extern void pbnumbase(int, int, int);
extern void pbunsigned(unsigned long);
extern void pbstr(const char *);
extern void putback(int);