summaryrefslogtreecommitdiff
path: root/bindings/linux/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/linux/assert.h')
-rw-r--r--bindings/linux/assert.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/bindings/linux/assert.h b/bindings/linux/assert.h
deleted file mode 100644
index 26d8ab6..0000000
--- a/bindings/linux/assert.h
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * upb - a minimalist implementation of protocol buffers.
- *
- * Copyright (c) 2012 Google Inc. See LICENSE for details.
- * Author: Josh Haberman <jhaberman@gmail.com>
- */
-
-#include <linux/kernel.h>
-
-#ifndef UPB_LINUX_ASSERT_H
-#define UPB_LINUX_ASSERT_H
-
-#ifdef NDEBUG
-#define assert(x)
-#else
-#define assert(x) \
- if (!(x)) panic("Assertion failed: %s at %s:%d", #x, __FILE__, __LINE__);
-#endif
-
-#endif
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback