3065 some functions in the tcp module can be static
[unleashed.git] / usr / src / cmd / man / src / util / nsgmls.src / lib / assert.cxx
blob3d2781c73b342d1f708e78398e2934f649decd57
1 // Copyright (c) 1994 James Clark
2 // See the file COPYING for copying permission.
3 #pragma ident "%Z%%M% %I% %E% SMI"
5 #include "splib.h"
6 #include <stdlib.h>
7 #include "macros.h"
9 #ifdef __GNUG__
10 void exit(int) __attribute__((noreturn));
11 #endif
13 #ifdef SP_NAMESPACE
14 namespace SP_NAMESPACE {
15 #endif
17 void assertionFailed(const char *, const char *, int)
19 abort();
20 exit(1);
23 #ifdef SP_NAMESPACE
25 #endif