summaryrefslogtreecommitdiff
path: root/xc/include/DPS/dpsexcept.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/include/DPS/dpsexcept.h')
-rw-r--r--xc/include/DPS/dpsexcept.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/xc/include/DPS/dpsexcept.h b/xc/include/DPS/dpsexcept.h
index 7eeefff38..365819a73 100644
--- a/xc/include/DPS/dpsexcept.h
+++ b/xc/include/DPS/dpsexcept.h
@@ -35,6 +35,7 @@
*
* Author: Adobe Systems Incorporated
*/
+/* $XFree86: xc/include/DPS/dpsexcept.h,v 1.3 2000/06/07 22:02:56 tsi Exp $ */
/*
Original version: Jeffrey Mogul, Stanford, 18 February 1983
@@ -163,17 +164,6 @@ extern _Exc_Buf *_Exc_Header; /* global exception chain header */
/* Exported Procedures */
-#ifdef _NO_PROTO
-
-extern void DPSRaise();
-extern void DPSCantHappen();
-#if 0
-extern int setjmp();
-extern void longjmp();
-#endif /* 0 */
-
-#else /* _NO_PROTO */
-
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
@@ -196,7 +186,7 @@ extern void DPSRaise(int Code, char *Message);
writes an error message to os_stderr and aborts with DPSCantHappen.
*/
-extern void DPSCantHappen();
+extern void DPSCantHappen(void);
/* Calls abort. This is used only to handle "impossible" errors;
there is no recovery, and DPSCantHappen does not return.
*/
@@ -241,8 +231,6 @@ extern void longjmp(jmp_buf buf, int value);
}
#endif
-#endif /* _NO_PROTO */
-
/* In-line Procedures */
#define RAISE DPSRaise