From 381d4b70a9854a7b5b9f12d828a0824f8564f1e7 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 8 Feb 2013 12:13:34 -0300 Subject: Clean up c.h / postgres.h after Assert() move Per Tom --- src/include/c.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/include/c.h') diff --git a/src/include/c.h b/src/include/c.h index 7c5ac8642ac..d38788ec799 100644 --- a/src/include/c.h +++ b/src/include/c.h @@ -582,7 +582,7 @@ typedef NameData *Name; #define AssertArg(condition) assert(condition) #define AssertState(condition) assert(condition) -#else /* USE_ASSERT_CHECKING && FRONTEND */ +#else /* USE_ASSERT_CHECKING && !FRONTEND */ /* * Trap @@ -619,6 +619,10 @@ typedef NameData *Name; #define AssertState(condition) \ Trap(!(condition), "BadState") +extern void ExceptionalCondition(const char *conditionName, + const char *errorType, + const char *fileName, int lineNumber) __attribute__((noreturn)); + #endif /* USE_ASSERT_CHECKING && !FRONTEND */ -- cgit v1.2.3