projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace deprecated luaL_openlib() by luaL_register()
[apps/madmutt.git]
/
lib-lib
/
lib-lib.h
diff --git
a/lib-lib/lib-lib.h
b/lib-lib/lib-lib.h
index
1b0769a
..
ca55f96
100644
(file)
--- a/
lib-lib/lib-lib.h
+++ b/
lib-lib/lib-lib.h
@@
-20,8
+20,8
@@
#ifndef MUTT_LIB_LIB_LIB_LIB_H
#define MUTT_LIB_LIB_LIB_LIB_H
#ifndef MUTT_LIB_LIB_LIB_LIB_H
#define MUTT_LIB_LIB_LIB_LIB_H
-#if HAVE_CONFIG_H
-# include
"../config.h"
+#if
def
HAVE_CONFIG_H
+# include
<config.h>
#endif
#ifndef __GNUC__
#endif
#ifndef __GNUC__
@@
-58,6
+58,7
@@
#elif HAVE_INTTYPES_H
# include <inttypes.h>
#endif
#elif HAVE_INTTYPES_H
# include <inttypes.h>
#endif
+#include <stdbool.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
@@
-78,7
+79,7
@@
# undef _
#endif
# undef _
#endif
-#ifdef
ENABLE_NLS
+#ifdef
HAVE_LIBIDN
# include <libintl.h>
#define _(a) (gettext(a))
# ifdef gettext_noop
# include <libintl.h>
#define _(a) (gettext(a))
# ifdef gettext_noop
@@
-99,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 {
@@
-110,13
+117,15
@@
typedef union __attribute__((transparent_union)) anytype {
#include "mem.h"
#include "str.h"
#include "mem.h"
#include "str.h"
+#include "utf8.h"
#include "array.h"
#include "array.h"
+#include "bits.h"
#include "buffer.h"
#include "buffer.h"
-#include "date.h"
#include "file.h"
#include "hash.h"
#include "list.h"
#include "file.h"
#include "hash.h"
#include "list.h"
+#include "md5.h"
#include "mapping.h"
#include "rx.h"
#include "url.h"
#include "mapping.h"
#include "rx.h"
#include "url.h"