summaryrefslogtreecommitdiffstats
path: root/src/mapi
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapi')
-rw-r--r--src/mapi/mapi/entry.h3
-rw-r--r--src/mapi/mapi/stub.h2
-rw-r--r--src/mapi/mapi/table.c1
-rw-r--r--src/mapi/mapi/table.h2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/mapi/mapi/entry.h b/src/mapi/mapi/entry.h
index 4d7e1f6d16e..9df81000470 100644
--- a/src/mapi/mapi/entry.h
+++ b/src/mapi/mapi/entry.h
@@ -30,7 +30,8 @@
#define _ENTRY_H_
#include "u_compiler.h"
-#include "stub.h"
+
+typedef void (*mapi_func)(void);
void
entry_patch_public(void);
diff --git a/src/mapi/mapi/stub.h b/src/mapi/mapi/stub.h
index e72e530e290..b2b6f1839c6 100644
--- a/src/mapi/mapi/stub.h
+++ b/src/mapi/mapi/stub.h
@@ -29,7 +29,7 @@
#ifndef _STUB_H_
#define _STUB_H_
-typedef void (*mapi_func)(void);
+#include "entry.h"
struct mapi_stub;
diff --git a/src/mapi/mapi/table.c b/src/mapi/mapi/table.c
index 7c760201a97..4e16e8d0da2 100644
--- a/src/mapi/mapi/table.c
+++ b/src/mapi/mapi/table.c
@@ -29,7 +29,6 @@
#include <stdlib.h>
#include <stdio.h>
-#include "stub.h"
#include "table.h"
static void
diff --git a/src/mapi/mapi/table.h b/src/mapi/mapi/table.h
index c93ebe75cf9..d84523f7777 100644
--- a/src/mapi/mapi/table.h
+++ b/src/mapi/mapi/table.h
@@ -30,7 +30,7 @@
#define _TABLE_H_
#include "u_compiler.h"
-#include "stub.h"
+#include "entry.h"
#define MAPI_TMP_TABLE
#include "mapi_tmp.h"