Explorar el Código

mapi: Move mapi_func typedef to entry.h.

Make it clear that entry.h does not depend on stub.h.
undefined
Chia-I Wu hace 15 años
padre
commit
a91a337a7d
Se han modificado 4 ficheros con 4 adiciones y 4 borrados
  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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

@@ -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 Ver fichero

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

Cargando…
Cancelar
Guardar