summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-27 11:06:06 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-27 11:06:06 -0800
commitb2d40b9a09ab40482e081a2648cf8f79ff6cc386 (patch)
tree051a3fa17d8b6ce96a8b116cba61fc5c462c9263 /utils.h
parentb71eb0361cf556909d88b59ccdb810a137c1efeb (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.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/utils.h b/utils.h
index 8b9ebe0..d4273ef 100644
--- a/utils.h
+++ b/utils.h
@@ -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