diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-27 11:06:06 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-11-27 11:06:06 -0800 |
commit | b2d40b9a09ab40482e081a2648cf8f79ff6cc386 (patch) | |
tree | 051a3fa17d8b6ce96a8b116cba61fc5c462c9263 /utils.h | |
parent | b71eb0361cf556909d88b59ccdb810a137c1efeb (diff) |
Delete unused uFatalError function
Stops gcc from suggesting to add noreturn attribute to it.
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'utils.h')
-rw-r--r-- | utils.h | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -92,7 +92,6 @@ extern void uInformation ( const char *s, ...) _X_ATTRIBUTE_PRINTF(1,2); extern void uAction ( const char *s, ... ) _X_ATTRIBUTE_PRINTF(1,2); extern void uWarning ( const char *s, ... ) _X_ATTRIBUTE_PRINTF(1,2); extern void uError ( const char *s, ... ) _X_ATTRIBUTE_PRINTF(1,2); -extern void uFatalError( const char *s,...) _X_ATTRIBUTE_PRINTF(1,2); extern void uInternalError ( const char *s, ... ) _X_ATTRIBUTE_PRINTF(1,2); /***====================================================================***/ @@ -121,15 +120,6 @@ extern int uStrCasePrefix( /***====================================================================***/ -#ifdef ASSERTIONS_ON -#define uASSERT(where,why) \ - {if (!(why)) uFatalError("assertion botched in %s ( why )\n",where);} -#else -#define uASSERT(where,why) -#endif - -/***====================================================================***/ - #ifndef DEBUG_VAR #define DEBUG_VAR debugFlags #endif |