diff options
author | Daniel Stone <daniel@fooishbar.org> | 2008-07-17 21:37:50 +0300 |
---|---|---|
committer | Daniel Stone <daniel@fooishbar.org> | 2008-07-17 21:37:50 +0300 |
commit | 446fe9eecddd1337f9d5164dd7c301e1ba3dfe32 (patch) | |
tree | e749fe520d2226df0397a407e7353c065bbc5248 /os/log.c | |
parent | 0564b5454ac101d9e1218767bbbc2c2d9f3e0696 (diff) |
Dead code removal
Remove a whole bunch of code that was never built, be it entire files or
just dead ifdefs.
Diffstat (limited to 'os/log.c')
-rw-r--r-- | os/log.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -528,9 +528,6 @@ FatalError(const char *f, ...) if (!beenhere) OsVendorFatalError(); #endif -#ifdef ABORTONFATALERROR - abort(); -#endif if (!beenhere) { beenhere = TRUE; AbortServer(); @@ -564,21 +561,6 @@ ErrorF(const char * f, ...) /* A perror() workalike. */ -#ifndef NEED_STRERROR -#ifdef SYSV -#if !defined(ISC) || defined(ISC202) || defined(ISC22) -#define NEED_STRERROR -#endif -#endif -#endif - -#if defined(NEED_STRERROR) && !defined(strerror) -extern char *sys_errlist[]; -extern int sys_nerr; -#define strerror(n) \ - ((n) >= 0 && (n) < sys_nerr) ? sys_errlist[(n)] : "unknown error" -#endif - _X_EXPORT void Error(char *str) { |