-
Notifications
You must be signed in to change notification settings - Fork 0
/
ccerr.h
33 lines (28 loc) · 949 Bytes
/
ccerr.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/* CCERR.H - KCC Error declarations
**
** (c) Copyright Ken Harrenstien 1989
*/
#if 0
#ifndef __STDC__
#define __STDC__ 0
#endif
#if __STDC__
#define FMTARG char *, ... /* Prototype args if using ANSI */
#else
#define FMTARG /* No prototype */
#endif
#endif
extern void
jmsg(char *fmt, ...), /* Job message, "? KCC - " */
jwarn (char *fmt, ...), /* Job warning, "% KCC - " FW 2A(47) */
jerr(char *fmt, ...), /* Job err msg, "? KCC - " */
note(char *fmt, ...), /* "[Note] " */
advise(char *fmt, ...), /* "[Advisory] " */
warn(char *fmt, ...), /* "[Warning] " */
int_warn(char *fmt, ...), /* "[Warning] Internal error - " */
error(char *fmt, ...), /* "" */
int_error(char *fmt, ...), /* "Internal error - " */
efatal(char *fmt, ...), /* "[Fatal] " with context */
fatal(char *fmt, ...); /* "[Fatal] " without context */
void errfopen (char *desc, char *fnam);
extern int expect(int t);