diff options
author | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-03 23:27:37 +0000 |
---|---|---|
committer | reynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-07-03 23:27:37 +0000 |
commit | 132173bbf0606f2ad90231e74eedda4382db4cf7 (patch) | |
tree | 2cddefee9c4d354d3c0eed7d2214581725b5097e /loader | |
parent | a8e3cea4b3e3b960649274387e36ff732cd1eeb0 (diff) |
get_path as const, patch by Stefan Huehner, stefan AT huehner-org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r-- | loader/qtx/list.c | 2 | ||||
-rw-r--r-- | loader/qtx/qtxload.c | 2 | ||||
-rw-r--r-- | loader/registry.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/loader/qtx/list.c b/loader/qtx/list.c index 86d71df267..feed23dc37 100644 --- a/loader/qtx/list.c +++ b/loader/qtx/list.c @@ -11,7 +11,7 @@ #include "qtxsdk/components.h" #include "qtxsdk/select.h" -char* get_path(char* x){ return strdup(x);} +char* get_path(const char* x){ return strdup(x);} void* LoadLibraryA(char* name); void* GetProcAddress(void* handle,char* func); diff --git a/loader/qtx/qtxload.c b/loader/qtx/qtxload.c index 3ac6f319f3..6dd088d643 100644 --- a/loader/qtx/qtxload.c +++ b/loader/qtx/qtxload.c @@ -22,7 +22,7 @@ ComponentResult ComponentDummy( return(0); } -char *get_path(char* x){ return strdup(x);} +char *get_path(const char* x){ return strdup(x);} void* LoadLibraryA(char* name); void* GetProcAddress(void* handle,char* func); diff --git a/loader/registry.c b/loader/registry.c index 4a05e88d54..1ed90bd60c 100644 --- a/loader/registry.c +++ b/loader/registry.c @@ -24,7 +24,7 @@ //#undef TRACE //#define TRACE printf -extern char *get_path ( char * ); +extern char *get_path ( const char * ); // ...can be set before init_registry() call char* regpathname = NULL; |