summaryrefslogtreecommitdiffstats
path: root/src/mapi/stub.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-03-03 09:40:40 -0700
committerBrian Paul <[email protected]>2015-03-04 08:33:48 -0700
commit25a847d9cc046584aa43894f70da1bf11ba48f09 (patch)
tree08eef31415732102255920ee9d6f9529e2eeeb2c /src/mapi/stub.c
parent0339e7dbdab2ee3a4776e50461bc4697a23b57b6 (diff)
mapi: remove unneeded ARRAY_SIZE #define
include util/macros.h instead. Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mapi/stub.c')
-rw-r--r--src/mapi/stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mapi/stub.c b/src/mapi/stub.c
index dfadbe1a5d3..953b6c75c31 100644
--- a/src/mapi/stub.c
+++ b/src/mapi/stub.c
@@ -29,13 +29,13 @@
#include <string.h>
#include <assert.h>
+#include "util/macros.h"
#include "u_current.h"
#include "u_thread.h"
#include "entry.h"
#include "stub.h"
#include "table.h"
-#define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
struct mapi_stub {
const void *name;