summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1996-12-16 03:17:17 +0000
committerJason Downs <downsj@cvs.openbsd.org>1996-12-16 03:17:17 +0000
commit7934030993e4fb5cbb350748b2bf2cc7e1366319 (patch)
tree44d80aba685273cb9196b9f7012ba398eaac9ec4 /lib
parent7d8b755545700275392ca8d5b09af5edaf0c3ba6 (diff)
Compatibility
Diffstat (limited to 'lib')
-rw-r--r--lib/libcom_err/com_err.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libcom_err/com_err.h b/lib/libcom_err/com_err.h
index 0e09a54370b..ef53c94f3f9 100644
--- a/lib/libcom_err/com_err.h
+++ b/lib/libcom_err/com_err.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: com_err.h,v 1.1 1996/11/11 04:55:03 downsj Exp $ */
+/* $OpenBSD: com_err.h,v 1.2 1996/12/16 03:17:16 downsj Exp $ */
/*-
* Header file for common error description library.
@@ -13,10 +13,13 @@
#ifndef __COM_ERR_H
#define __COM_ERR_H
+typedef long errcode_t; /* XXX compatibilty with newer version */
+
#include <stdarg.h>
/* ANSI C -- use prototypes etc */
void com_err __P((const char *, long, const char *, ...));
+void com_err_va __P((const char *, long, const char *, va_list));
char const *error_message __P((long));
void (*com_err_hook) __P((const char *, long, const char *, va_list));
void (*set_com_err_hook __P((void (*) (const char *, long, const char *, va_list))))