summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
Diffstat (limited to 'util.h')
-rw-r--r--util.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/util.h b/util.h
deleted file mode 100644
index f4510557..00000000
--- a/util.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef _UTIL_H
-#define _UTIL_H
-
-#warning Don't use lib/util.h
-
-/* Bridge from GPG style to lsh style */
-#include "lsh_types.h"
-
-/* Report a bug (TODO: do what afterwards? ) */
-void log_bug(const char *fmt, ... ) PRINTF_STYLE(1,2);
-
-/* Report an error */
-void log_error(const char *fmt, ... ) PRINTF_STYLE(1,2);
-
-/* Report a fatal error and die */
-void log_fatal(const char *fmt, ... ) PRINTF_STYLE(1,2) NORETURN;
-
-#ifndef G10ERR_WEAK_KEY
- #define G10ERR_WEAK_KEY 43
-#elif G10ERR_WEAK_KEY != 43
- #error G10ERR_WEAK_KEY is defined to a wrong value.
-#endif
-
-#endif /* _UTIL_H */