Remove the old dummynet directory and update the new code with the missing files...
[ipfw.git] / dummynet / include / sys / cdefs.h
diff --git a/dummynet/include/sys/cdefs.h b/dummynet/include/sys/cdefs.h
deleted file mode 100644 (file)
index b95b4b7..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-#ifndef _CDEFS_H_
-#define _CDEFS_H_
-
-/*
- * various compiler macros and common functions
- */
-
-#ifndef __unused
-#define __unused       __attribute__ ((__unused__))
-#endif
-
-#ifndef __packed
-#define __packed       __attribute__ ((__packed__))
-#endif
-
-#ifndef __aligned
-#define __aligned(x) __attribute__((__aligned__(x)))
-#endif
-
-/* defined as assert */
-void panic(const char *fmt, ...);
-
-#define KASSERT(exp,msg) do {                                           \
-        if (__predict_false(!(exp)))                                    \
-                panic msg;                                              \
-} while (0)
-
-/* don't bother to optimize */
-#ifndef __predict_false
-#define __predict_false(x)   (x)       /* __builtin_expect((exp), 0) */
-#endif
-
-#endif /* !_CDEFS_H_ */