diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-07 04:31:29 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-07 04:31:29 +0000 |
| commit | 2d5a9a02425951f4efed764d135be96867eb532f (patch) | |
| tree | d94be7649ef8ccb627df551ac69f5d4a6a941cb6 /gui/LnxMain.c | |
| parent | 6a4fd490f8c754883bee9468be8d35dc7a651cee (diff) | |
| download | pcsxr-2d5a9a02425951f4efed764d135be96867eb532f.tar.gz | |
preparing for refactor/cleanup, moved all definations into .c files, other minor cleanups. (Breaks Mac OS X and maybe windows as well for now, will fix later.)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47542 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui/LnxMain.c')
| -rw-r--r-- | gui/LnxMain.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/LnxMain.c b/gui/LnxMain.c index f9a66dd1..b28b506f 100644 --- a/gui/LnxMain.c +++ b/gui/LnxMain.c @@ -485,7 +485,7 @@ void SysClose() { if (emuLog != NULL) fclose(emuLog); } -void SysPrintf(char *fmt, ...) { +void SysPrintf(const char *fmt, ...) { va_list list; char msg[512]; @@ -513,11 +513,11 @@ void SysPrintf(char *fmt, ...) { #endif } -void *SysLoadLibrary(char *lib) { +void *SysLoadLibrary(const char *lib) { return dlopen(lib, RTLD_NOW); } -void *SysLoadSym(void *lib, char *sym) { +void *SysLoadSym(void *lib, const char *sym) { return dlsym(lib, sym); } |
