From 06778335609f6c46e0fb58b118c8c722663b55fb Mon Sep 17 00:00:00 2001 From: Yamagi Burmeister Date: Sat, 23 Oct 2010 06:54:05 +0000 Subject: [PATCH] Fixe die gemeinsamen Symbole von Client und Refresh --- src/client/header/ref.h | 2 +- src/unix/vid.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/client/header/ref.h b/src/client/header/ref.h index e87b06ed..70f493c7 100644 --- a/src/client/header/ref.h +++ b/src/client/header/ref.h @@ -207,7 +207,7 @@ typedef struct { } refimport_t; /* this is the only function actually exported at the linker level */ -typedef refexport_t (*GetRefAPI_t)(refimport_t); +typedef refexport_t (*R_GetRefAPI_t)(refimport_t); #endif diff --git a/src/unix/vid.c b/src/unix/vid.c index 12d5570d..27b873f8 100644 --- a/src/unix/vid.c +++ b/src/unix/vid.c @@ -208,7 +208,7 @@ qboolean VID_LoadRefresh ( char *name ) { refimport_t ri; - GetRefAPI_t GetRefAPI; + R_GetRefAPI_t R_GetRefAPI; char fn [ MAX_OSPATH ]; char *path; struct stat st; @@ -272,12 +272,12 @@ VID_LoadRefresh ( char *name ) ri.Vid_MenuInit = VID_MenuInit; ri.Vid_NewWindow = VID_NewWindow; - if ( ( GetRefAPI = (void *) dlsym( reflib_library, "GetRefAPI" ) ) == 0 ) + if ( ( R_GetRefAPI = (void *) dlsym( reflib_library, "R_GetRefAPI" ) ) == 0 ) { Com_Error( ERR_FATAL, "dlsym failed on %s", name ); } - re = GetRefAPI( ri ); + re = R_GetRefAPI( ri ); if ( re.api_version != API_VERSION ) {