]> andersk Git - moira.git/blame_incremental - include/com_err.h
missing SRCDIR; ifdef on GDSS
[moira.git] / include / com_err.h
... / ...
CommitLineData
1/*
2 * Header file for common error description library.
3 *
4 * Copyright 1988, Student Information Processing Board of the
5 * Massachusetts Institute of Technology.
6 *
7 * For copyright and distribution info, see the documentation supplied
8 * with this package.
9 */
10
11#ifndef __COM_ERR_H
12
13#ifdef __STDC__
14#ifndef __HIGHC__ /* gives us STDC but not stdarg */
15#include <stdarg.h>
16#else
17#include <varargs.h>
18#endif
19/* ANSI C -- use prototypes etc */
20void com_err (const char *, long, const char *, ...);
21char const *error_message (long);
22void (*com_err_hook) (const char *, long, const char *, va_list);
23void (*set_com_err_hook (void (*) (const char *, long, const char *, va_list)))
24 (const char *, long, const char *, va_list);
25void (*reset_com_err_hook ()) (const char *, long, const char *, va_list);
26#else
27/* no prototypes */
28void com_err ();
29char *error_message ();
30void (*com_err_hook) ();
31void (*set_com_err_hook ()) ();
32void (*reset_com_err_hook ()) ();
33
34#define const
35#endif
36
37#define __COM_ERR_H
38#endif /* ! defined(__COM_ERR_H) */
This page took 0.033798 seconds and 5 git commands to generate.