From f1ddc12b68b4e4c8087962de25260470e6df2bea Mon Sep 17 00:00:00 2001 From: Connor Thomson Date: Tue, 8 Sep 2026 18:27:39 -0700 Subject: Add tuxanci2 files --- src/base/msg.h | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/base/msg.h (limited to 'src/base/msg.h') 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 */ -- cgit v1.2.3