summaryrefslogtreecommitdiff
path: root/src/usuals.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/usuals.h')
-rw-r--r--src/usuals.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/usuals.h b/src/usuals.h
deleted file mode 100644
index 6dc7b08..0000000
--- a/src/usuals.h
+++ /dev/null
@@ -1,32 +0,0 @@
-
-#ifndef __USUALS_H__
-#define __USUALS_H__
-
-#include <sys/types.h>
-
-#include "config.h"
-
-#include <errno.h>
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-
-#ifndef max
-#define max(a,b) (((a) > (b)) ? (a) : (b))
-#endif
-
-#ifndef min
-#define min(a,b) (((a) < (b)) ? (a) : (b))
-#endif
-
-#define countof(x) (sizeof(x) / sizeof(x[0]))
-
-#ifdef _DEBUG
- #include "assert.h"
- #define ASSERT(x) assert(x)
-#else
- #define ASSERT(x)
-#endif
-
-#endif /* __USUALS_H__ */