summaryrefslogtreecommitdiff
path: root/src/base/msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/base/msg.h')
-rw-r--r--src/base/msg.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/base/msg.h b/src/base/msg.h
deleted file mode 100644
index 403100c..0000000
--- a/src/base/msg.h
+++ /dev/null
@@ -1,18 +0,0 @@
-#ifndef MSG_H
-#define MSG_H
-
-#ifdef DEBUG
-#define debug(msg,arg...) fprintf(stdout, "%s ", _("[Debug]")); fprintf(stdout, _(msg), ##arg); fprintf(stdout, "\n")
-#else /* DEBUG */
-#define debug(msg,arg...)
-#endif /* DEBUG */
-
-#define warning(msg,arg...) fprintf(stderr, "%s ", _("[Warning]")); fprintf(stderr, _(msg), ##arg); fprintf(stderr, "\n")
-#define error(msg,arg...) fprintf(stderr, "%s ", _("[Error]")); fprintf(stderr, _(msg), ##arg); fprintf(stderr, "\n")
-#define fatal(msg,arg...) \
-{ \
- fprintf(stderr, "%s ", _("[Fatal]")); fprintf(stderr, _(msg), ##arg); fprintf(stderr, "\n"); \
- abort(); \
-}
-
-#endif /* MSG_H */