diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-11 08:41:26 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2017-06-11 08:41:26 +0000 |
commit | 2f6caac6019e3182486965f7f09baed7e93e1be9 (patch) | |
tree | 2d5d4350a1bbf9bafdb5f0a5260714a6190c668d /dev-libs/elfutils/files/error.h | |
parent | a37f6bfc3fde25205ebac44b82f1586b924c61da (diff) | |
download | packages-2f6caac6019e3182486965f7f09baed7e93e1be9.tar.gz packages-2f6caac6019e3182486965f7f09baed7e93e1be9.tar.bz2 packages-2f6caac6019e3182486965f7f09baed7e93e1be9.tar.xz packages-2f6caac6019e3182486965f7f09baed7e93e1be9.zip |
The New Plan
ebuild branch has old ebuilds. profiles dir still has CFLAGS.
Everything else is removed or modified for changing of upstream to
Alpine.
Diffstat (limited to 'dev-libs/elfutils/files/error.h')
-rw-r--r-- | dev-libs/elfutils/files/error.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/dev-libs/elfutils/files/error.h b/dev-libs/elfutils/files/error.h deleted file mode 100644 index ef06827a0..000000000 --- a/dev-libs/elfutils/files/error.h +++ /dev/null @@ -1,27 +0,0 @@ -#ifndef _ERROR_H_ -#define _ERROR_H_ - -#include <stdarg.h> -#include <stdio.h> -#include <stdlib.h> -#include <string.h> -#include <errno.h> - -static unsigned int error_message_count = 0; - -static inline void error(int status, int errnum, const char* format, ...) -{ - va_list ap; - fprintf(stderr, "%s: ", program_invocation_name); - va_start(ap, format); - vfprintf(stderr, format, ap); - va_end(ap); - if (errnum) - fprintf(stderr, ": %s", strerror(errnum)); - fprintf(stderr, "\n"); - error_message_count++; - if (status) - exit(status); -} - -#endif /* _ERROR_H_ */ |