projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
766a6cc
)
Add missing include guards.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 13 Jun 2012 10:27:46 +0000
(12:27 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 14 Jun 2012 07:32:56 +0000
(09:32 +0200)
adt/error.h
patch
|
blob
|
history
diff --git
a/adt/error.h
b/adt/error.h
index
3230f3c
..
ad6c08d
100644
(file)
--- a/
adt/error.h
+++ b/
adt/error.h
@@
-17,6
+17,9
@@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
+#ifndef ADT_ERROR_H
+#define ADT_ERROR_H
+
#include <stdio.h>
#include <stdlib.h>
#include "config.h"
@@
-24,3
+27,5
@@
static inline __attribute__((noreturn))
void panic(const char *msg)
{ fprintf(stderr, "Panic: %s\n", msg); abort(); }
+
+#endif