diff options
author | gshapiro <gshapiro@FreeBSD.org> | 2001-04-16 18:36:35 +0000 |
---|---|---|
committer | gshapiro <gshapiro@FreeBSD.org> | 2001-04-16 18:36:35 +0000 |
commit | 3f95f71144508430572f3e29a30b73b4d887388c (patch) | |
tree | 84cc26d755c60541e3d22d463b08b6eef725cbef /usr.bin/m4/extern.h | |
parent | 72bbb6cb402b781ec4f03b4e3369a2f13ad6a242 (diff) | |
download | FreeBSD-src-3f95f71144508430572f3e29a30b73b4d887388c.zip FreeBSD-src-3f95f71144508430572f3e29a30b73b4d887388c.tar.gz |
Clean up temporary file(s) and directory when m4 exits without falling
through main() (e.g., signals or calls to errx()).
PR: conf/25715
Diffstat (limited to 'usr.bin/m4/extern.h')
-rw-r--r-- | usr.bin/m4/extern.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr.bin/m4/extern.h b/usr.bin/m4/extern.h index 25fc741..e791ee2 100644 --- a/usr.bin/m4/extern.h +++ b/usr.bin/m4/extern.h @@ -34,6 +34,7 @@ * SUCH DAMAGE. * * @(#)extern.h 8.1 (Berkeley) 6/6/93 + * $FreeBSD$ */ char *basename __P((char *)); @@ -41,6 +42,7 @@ char *xalloc __P((unsigned long)); int expr __P((char *)); ndptr addent __P((char *)); void chrsave __P((int)); +void cleanup __P((int)); void dochc __P((char *[], int)); void dochq __P((char *[], int)); void dodefine __P((char *, char *)); @@ -87,6 +89,7 @@ extern char *endest; /* end of string space */ extern unsigned char *endpbb; /* end of push-back buffer */ extern char *ep; /* first free char in strspace */ extern char lquote; /* left quote character (`) */ +extern char *m4dir; /* directory for temporary files */ extern char *m4temp; /* filename for diversions */ extern char *m4wraps; /* m4wrap string default. */ extern char *null; /* as it says.. just a null. */ |