summaryrefslogtreecommitdiff
path: root/upb/bindings/linux/assert.h
diff options
context:
space:
mode:
authorgerben-s <gerbens@google.com>2018-08-21 15:31:54 -0700
committerGitHub <noreply@github.com>2018-08-21 15:31:54 -0700
commit0a95f73d0d9874151c0d36d6035230a873fa1715 (patch)
treea03b7fbaf122909d9aeab5b1769b661fc3cbbbc6 /upb/bindings/linux/assert.h
parente3eae33fb5840dbec3c2bc9109fa164f6066baa8 (diff)
parent6155ed8b499c10bdd1f38bcb25866218bc388b7c (diff)
Merge pull request #116 from haberman/rmgooglepb
Removed a bunch of obsolete code.
Diffstat (limited to 'upb/bindings/linux/assert.h')
-rw-r--r--upb/bindings/linux/assert.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/upb/bindings/linux/assert.h b/upb/bindings/linux/assert.h
deleted file mode 100644
index 543f7fb..0000000
--- a/upb/bindings/linux/assert.h
+++ /dev/null
@@ -1,14 +0,0 @@
-
-#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