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:
Chia-I Wu 2010-12-24 17:26:08 +08:00
parent a33e9f049d
commit a91a337a7d
4 changed files with 4 additions and 4 deletions

View file

@ -30,7 +30,8 @@
#define _ENTRY_H_
#include "u_compiler.h"
#include "stub.h"
typedef void (*mapi_func)(void);
void
entry_patch_public(void);

View file

@ -29,7 +29,7 @@
#ifndef _STUB_H_
#define _STUB_H_
typedef void (*mapi_func)(void);
#include "entry.h"
struct mapi_stub;

View file

@ -29,7 +29,6 @@
#include <stdlib.h>
#include <stdio.h>
#include "stub.h"
#include "table.h"
static void

View file

@ -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"