diff options
| author | Connor Thomson <blumatrikz@gmail.com> | 2026-09-08 18:27:39 -0700 |
|---|---|---|
| committer | Connor Thomson <blumatrikz@gmail.com> | 2026-09-08 18:27:39 -0700 |
| commit | f1ddc12b68b4e4c8087962de25260470e6df2bea (patch) | |
| tree | 7d0440a6402a9b0ef75ded23fa64b68534255bba /src/base/msg.h | |
| parent | 6025860a61386bf767b29c3ec5fd0d31285f1056 (diff) | |
Add tuxanci2 files
Diffstat (limited to 'src/base/msg.h')
| -rw-r--r-- | src/base/msg.h | 18 |
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 */ |