From a33e9f049db5b7c9f3d801d3ffa7312e9a5d9637 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Fri, 24 Dec 2010 16:04:14 +0800 Subject: [PATCH] mapi: Define MAPI_TMP_DEFINES only when needed. Since struct mapi_table is opaque, MAPI_TMP_DEFINES is not needed in table.h. --- src/mapi/mapi/table.c | 1 + src/mapi/mapi/table.h | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mapi/mapi/table.c b/src/mapi/mapi/table.c index 8f4f700b920..7c760201a97 100644 --- a/src/mapi/mapi/table.c +++ b/src/mapi/mapi/table.c @@ -52,5 +52,6 @@ noop_generic(void) } /* define noop_array */ +#define MAPI_TMP_DEFINES #define MAPI_TMP_NOOP_ARRAY #include "mapi_tmp.h" diff --git a/src/mapi/mapi/table.h b/src/mapi/mapi/table.h index 174057d6422..c93ebe75cf9 100644 --- a/src/mapi/mapi/table.h +++ b/src/mapi/mapi/table.h @@ -32,7 +32,6 @@ #include "u_compiler.h" #include "stub.h" -#define MAPI_TMP_DEFINES #define MAPI_TMP_TABLE #include "mapi_tmp.h" -- 2.30.2