aboutsummaryrefslogtreecommitdiffstats
path: root/debug.c
diff options
context:
space:
mode:
authorEric Haszlakiewicz <erh+git@nimenees.com>2014-03-22 21:48:34 -0400
committerEric Haszlakiewicz <erh+git@nimenees.com>2014-03-22 21:48:34 -0400
commit784534a31f301466d9ab6f8d5b5ccd39a3b9f156 (patch)
tree01de421f61d18223fb623f99b8c5e450665d676e /debug.c
parentf9136f68520db4761f05810f97922900ba459f46 (diff)
downloadexternal_json-c-784534a31f301466d9ab6f8d5b5ccd39a3b9f156.tar.gz
external_json-c-784534a31f301466d9ab6f8d5b5ccd39a3b9f156.tar.bz2
external_json-c-784534a31f301466d9ab6f8d5b5ccd39a3b9f156.zip
Eliminate the deprecated mc_abort() function and MC_ABORT macro.
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/debug.c b/debug.c
index e0294ca..3b64b59 100644
--- a/debug.c
+++ b/debug.c
@@ -41,21 +41,6 @@ extern void mc_set_syslog(int syslog)
_syslog = syslog;
}
-void mc_abort(const char *msg, ...)
-{
- va_list ap;
- va_start(ap, msg);
-#if HAVE_VSYSLOG
- if(_syslog) {
- vsyslog(LOG_ERR, msg, ap);
- } else
-#endif
- vprintf(msg, ap);
- va_end(ap);
- exit(1);
-}
-
-
void mc_debug(const char *msg, ...)
{
va_list ap;