mapi: Move mapi_func typedef to entry.h.
Make it clear that entry.h does not depend on stub.h.
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
#define _ENTRY_H_
|
||||
|
||||
#include "u_compiler.h"
|
||||
#include "stub.h"
|
||||
|
||||
typedef void (*mapi_func)(void);
|
||||
|
||||
void
|
||||
entry_patch_public(void);
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
#ifndef _STUB_H_
|
||||
#define _STUB_H_
|
||||
|
||||
typedef void (*mapi_func)(void);
|
||||
#include "entry.h"
|
||||
|
||||
struct mapi_stub;
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "stub.h"
|
||||
#include "table.h"
|
||||
|
||||
static void
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user