1*55994Sbostic /*- 2*55994Sbostic * Copyright (c) 1992 Diomidis Spinellis. 3*55994Sbostic * Copyright (c) 1992 The Regents of the University of California. 4*55994Sbostic * All rights reserved. 5*55994Sbostic * 6*55994Sbostic * This code is derived from software contributed to Berkeley by 7*55994Sbostic * Diomidis Spinellis of Imperial College, University of London. 8*55994Sbostic * 9*55994Sbostic * %sccs.include.redist.c% 10*55994Sbostic * 11*55994Sbostic * @(#)extern.h 5.1 (Berkeley) 08/23/92 12*55994Sbostic */ 13*55994Sbostic 14*55994Sbostic extern struct s_command *prog; 15*55994Sbostic extern struct s_appends *appends; 16*55994Sbostic extern u_long linenum; 17*55994Sbostic extern int appendnum; 18*55994Sbostic extern int compile_errors; 19*55994Sbostic extern int lastline; 20*55994Sbostic extern int aflag, eflag, nflag; 21*55994Sbostic extern char *fname; 22*55994Sbostic 23*55994Sbostic void compile __P((void)); 24*55994Sbostic char *cu_fgets __P((char *, int)); 25*55994Sbostic void err __P((int, const char *, ...)); 26*55994Sbostic char *mf_fgets __P((size_t *)); 27*55994Sbostic void process __P((void)); 28*55994Sbostic char *strregerror __P((int, regex_t *)); 29*55994Sbostic void *xmalloc __P((u_int)); 30*55994Sbostic void *xrealloc __P((void *, u_int)); 31*55994Sbostic void cfclose(struct s_command *cp); 32