Mercurial > mplayer.hg
comparison loader/qtx/qtxload.c @ 18889:e60c8c7399d2
get_path as const, patch by Stefan Huehner, stefan AT huehner-org
author | reynaldo |
---|---|
date | Mon, 03 Jul 2006 23:27:37 +0000 |
parents | 167342641f0b |
children | 276d47411414 |
comparison
equal
deleted
inserted
replaced
18888:ab29b3c4f94e | 18889:e60c8c7399d2 |
---|---|
20 printf(" Dummy: global datas: %p\n", *globals); | 20 printf(" Dummy: global datas: %p\n", *globals); |
21 printf(" Dummy: returning 0\n"); | 21 printf(" Dummy: returning 0\n"); |
22 return(0); | 22 return(0); |
23 } | 23 } |
24 | 24 |
25 char *get_path(char* x){ return strdup(x);} | 25 char *get_path(const char* x){ return strdup(x);} |
26 | 26 |
27 void* LoadLibraryA(char* name); | 27 void* LoadLibraryA(char* name); |
28 void* GetProcAddress(void* handle,char* func); | 28 void* GetProcAddress(void* handle,char* func); |
29 | 29 |
30 #define __stdcall __attribute__((__stdcall__)) | 30 #define __stdcall __attribute__((__stdcall__)) |