update error system
[ust.git] / ustd / localerr.h
diff --git a/ustd/localerr.h b/ustd/localerr.h
deleted file mode 100644 (file)
index d4276eb..0000000
+++ /dev/null
@@ -1,12 +0,0 @@
-#include <stdio.h>
-
-//#define DEBUG
-#ifdef DEBUG
-# define DBG(fmt, args...) fprintf(stderr, "ustd: " fmt "\n", ## args); fflush(stderr)
-#else
-# define DBG(fmt, args...) do {} while(0)
-#endif
-
-#define WARN(fmt, args...) fprintf(stderr, "ustd: WARNING: " fmt "\n", ## args); fflush(stderr)
-#define ERR(fmt, args...) fprintf(stderr, "ustd: ERROR: " fmt "\n", ## args); fflush(stderr)
-#define PERROR(a) perror(a)
This page took 0.036699 seconds and 4 git commands to generate.