projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More string and buffer functions.
[apps/madmutt.git]
/
lib-lib
/
lib-lib.h
diff --git
a/lib-lib/lib-lib.h
b/lib-lib/lib-lib.h
index
04d914c
..
ca55f96
100644
(file)
--- a/
lib-lib/lib-lib.h
+++ b/
lib-lib/lib-lib.h
@@
-100,6
+100,12
@@
#define MAX(a,b) ((a) < (b) ? (b) : (a))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
#define MAX(a,b) ((a) < (b) ? (b) : (a))
#define MIN(a,b) ((a) < (b) ? (a) : (b))
+#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 {
/* }}} */
typedef union __attribute__((transparent_union)) anytype {