More string and buffer functions.
[apps/madmutt.git] / lib-lib / lib-lib.h
index edee99b..ca55f96 100644 (file)
 #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 {
@@ -116,7 +122,6 @@ typedef union __attribute__((transparent_union)) anytype {
 #include "array.h"
 #include "bits.h"
 #include "buffer.h"
-#include "date.h"
 #include "file.h"
 #include "hash.h"
 #include "list.h"