Quellcode durchsuchen

mapi: Move mapi_func typedef to entry.h.

Make it clear that entry.h does not depend on stub.h.
undefined
Chia-I Wu vor 15 Jahren
Ursprung
Commit
a91a337a7d
4 geänderte Dateien mit 4 neuen und 4 gelöschten Zeilen
  1. 2
    1
      src/mapi/mapi/entry.h
  2. 1
    1
      src/mapi/mapi/stub.h
  3. 0
    1
      src/mapi/mapi/table.c
  4. 1
    1
      src/mapi/mapi/table.h

+ 2
- 1
src/mapi/mapi/entry.h Datei anzeigen

@@ -30,7 +30,8 @@
#define _ENTRY_H_

#include "u_compiler.h"
#include "stub.h"

typedef void (*mapi_func)(void);

void
entry_patch_public(void);

+ 1
- 1
src/mapi/mapi/stub.h Datei anzeigen

@@ -29,7 +29,7 @@
#ifndef _STUB_H_
#define _STUB_H_

typedef void (*mapi_func)(void);
#include "entry.h"

struct mapi_stub;


+ 0
- 1
src/mapi/mapi/table.c Datei anzeigen

@@ -29,7 +29,6 @@
#include <stdlib.h>
#include <stdio.h>

#include "stub.h"
#include "table.h"

static void

+ 1
- 1
src/mapi/mapi/table.h Datei anzeigen

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

Laden…
Abbrechen
Speichern