Initial import of the CDE 2.1.30 sources from the Open Group.
[oweals/cde.git] / cde / programs / nsgmls / assert.C
1 /* $XConsortium: assert.C /main/1 1996/07/29 17:08:24 cde-hp $ */
2 // Copyright (c) 1994 James Clark
3 // See the file COPYING for copying permission.
4
5 #include "splib.h"
6 #include <stdlib.h>
7 #include "macros.h"
8
9 #ifdef __GNUG__
10 void exit(int) __attribute__((noreturn));
11 #endif
12
13 #ifdef SP_NAMESPACE
14 namespace SP_NAMESPACE {
15 #endif
16
17 void assertionFailed(const char *, const char *, int)
18 {
19   abort();
20   exit(1);
21 }
22
23 #ifdef SP_NAMESPACE
24 }
25 #endif