projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
always prefere complete over incomplete types when mergin declarations
[cparser]
/
adt
/
error.h
diff --git
a/adt/error.h
b/adt/error.h
index
9b971db
..
3384874
100644
(file)
--- a/
adt/error.h
+++ b/
adt/error.h
@@
-1,8
+1,8
@@
// placeholder file...
#include <stdio.h>
+#include <stdlib.h>
+#include "config.h"
-void abort(void);
-
-static inline __attribute__((noreturn))
+static inline NORETURN
void panic(const char *msg)
{ fprintf(stderr, "Panic: %s\n", msg); abort(); }