From 29bdac6cd60f196ed92f8b27e0efe8ebbfc4dab1 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 14 Jun 2010 11:30:59 +0000 Subject: loader/qtx: cleanup Remove unused function ComponentDummy(). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31406 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary get_path() declaration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31408 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary get_path() declaration. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31409 b3059339-0415-0410-9bf9-f77b7e298cf2 Replace forward declarations by loader/wine/winbase.h #include. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31410 b3059339-0415-0410-9bf9-f77b7e298cf2 Remove unnecessary and unused #defines. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31411 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/qtx/qtxload.c | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'loader/qtx/qtxload.c') diff --git a/loader/qtx/qtxload.c b/loader/qtx/qtxload.c index 838399ba14..f66d7fc338 100644 --- a/loader/qtx/qtxload.c +++ b/loader/qtx/qtxload.c @@ -23,30 +23,9 @@ #include "qtxsdk/components.h" #include "qtxsdk/select.h" #include "loader/ldt_keeper.h" +#include "loader/wine/winbase.h" #include "mp_msg.h" -/* this is what a plain component looks like */ -ComponentResult ComponentDummy( - ComponentParameters *params, - void **globals, - ComponentResult (*ComponentDispatch)(ComponentParameters *, void **)) -{ - printf("ComponentDummy(params: %p, globals: %p, dispatcher: %p) called!\n", - params, globals, ComponentDispatch); - printf(" Dummy: global datas: %p\n", *globals); - printf(" Dummy: returning 0\n"); - return 0; -} - -char *get_path(const char* x){ return strdup(x);} - -void* LoadLibraryA(char* name); -void* GetProcAddress(void* handle,char* func); - -#define __stdcall __attribute__((__stdcall__)) -#define __cdecl __attribute__((__cdecl__)) -#define APIENTRY - unsigned int* x_table[0x00001837]; static OSErr (*InitializeQTML)(long flags); -- cgit v1.2.3