projects
/
apps
/
madmutt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4cc921f
)
Enable constructors/destructors.
author
Pierre Habouzit
<madcoder@debian.org>
Sun, 13 Jan 2008 13:46:12 +0000
(14:46 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Sun, 13 Jan 2008 13:46:12 +0000
(14:46 +0100)
lib-lib/lib-lib.h
patch
|
blob
|
history
diff --git
a/lib-lib/lib-lib.h
b/lib-lib/lib-lib.h
index
72ba9aa
..
ca55f96
100644
(file)
--- a/
lib-lib/lib-lib.h
+++ b/
lib-lib/lib-lib.h
@@
-103,6
+103,9
@@
#define __must_check__ __attribute__((warn_unused_result))
#define IGNORE(expr) do { if (expr) (void)0; } while (0)
+#define __init __attribute__((__used__,__constructor__))
+#define __fini __attribute__((__used__,__destructor__))
+
/* }}} */
typedef union __attribute__((transparent_union)) anytype {