projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1fc585e
)
replaces the include of <obstack.h> by a forward definition of struct obstack.
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 28 Dec 2004 12:25:58 +0000
(12:25 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Tue, 28 Dec 2004 12:25:58 +0000
(12:25 +0000)
This allows to use the header file even if obstack.h did not exists...
[r4770]
ir/ir/irprintf.h
patch
|
blob
|
history
diff --git
a/ir/ir/irprintf.h
b/ir/ir/irprintf.h
index
20280a2
..
9abd396
100644
(file)
--- a/
ir/ir/irprintf.h
+++ b/
ir/ir/irprintf.h
@@
-23,7
+23,9
@@
#include <stddef.h>
#include <stdarg.h>
#include <stdio.h>
#include <stddef.h>
#include <stdarg.h>
#include <stdio.h>
-#include <obstack.h>
+
+/* forward definition */
+struct obstack;
/**
* Something that can append strings and chars to something.
/**
* Something that can append strings and chars to something.