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:
85707d7
)
Add some useful macros.
author
Pierre Habouzit
<madcoder@debian.org>
Fri, 11 Jan 2008 20:10:14 +0000
(21:10 +0100)
committer
Pierre Habouzit
<madcoder@debian.org>
Fri, 11 Jan 2008 20:10:14 +0000
(21:10 +0100)
lib-lib/lib-lib.h
patch
|
blob
|
history
diff --git
a/lib-lib/lib-lib.h
b/lib-lib/lib-lib.h
index
04d914c
..
72ba9aa
100644
(file)
--- a/
lib-lib/lib-lib.h
+++ b/
lib-lib/lib-lib.h
@@
-100,6
+100,9
@@
#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)
+
/* }}} */
typedef union __attribute__((transparent_union)) anytype {