xref: /original-bsd/bin/dd/extern.h (revision ca98dac2)
1 /*-
2  * Copyright (c) 1991 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * This code is derived from software contributed to Berkeley by
6  * Keith Muller of the University of California, San Diego and Lance
7  * Visser of Convex Computer Corporation.
8  *
9  * %sccs.include.redist.c%
10  *
11  *	@(#)extern.h	5.4 (Berkeley) 11/13/91
12  */
13 
14 #include <sys/cdefs.h>
15 
16 void block __P((void));
17 void block_close __P((void));
18 void dd_out __P((int));
19 void def __P((void));
20 void def_close __P((void));
21 void err __P((const char *, ...));
22 void jcl __P((char **));
23 void pos_in __P((void));
24 void pos_out __P((void));
25 void summary __P((int));
26 void terminate __P((int));
27 void unblock __P((void));
28 void unblock_close __P((void));
29 void warn __P((const char *, ...));
30 
31 extern IO in, out;
32 extern STAT st;
33 extern void (*cfunc)();
34 extern u_long cpy_cnt;
35 extern u_int cbsz;
36 extern u_int ddflags;
37 extern u_int files_cnt;
38 extern u_char *ctab;
39 extern u_char a2e_32V[], a2e_POSIX[], a2ibm_32V[], a2ibm_POSIX[], e2a_32V[];
40 extern u_char e2a_POSIX[], l2u[], u2l[];
41