diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-06-17 10:17:37 +0000 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2010-11-02 04:10:48 +0200 |
commit | 9fa2cd5c82569511dfdbb8350d056a1592238ed9 (patch) | |
tree | e7adf501fd374bf0af3d25668cc4c1f30a329637 /loader | |
parent | 5b62426443531d1a58732782a2fadb5765f99d80 (diff) | |
download | mpv-9fa2cd5c82569511dfdbb8350d056a1592238ed9.tar.bz2 mpv-9fa2cd5c82569511dfdbb8350d056a1592238ed9.tar.xz |
loader: Rename loader/qt_comp.h --> loader/qt_comp_template.c
It is not a header file but rather a template that is #included multiple
times with different DECL_COMPONENT macro definitions.
All other similar files follow the _template.c suffix naming scheme.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31456 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader')
-rw-r--r-- | loader/module.c | 4 | ||||
-rw-r--r-- | loader/qt_comp_template.c (renamed from loader/qt_comp.h) | 5 |
2 files changed, 2 insertions, 7 deletions
diff --git a/loader/module.c b/loader/module.c index 4a292ce0ac..6f3f0c3de9 100644 --- a/loader/module.c +++ b/loader/module.c @@ -701,7 +701,7 @@ static int dump_component(char* name, int type, void* orig, ComponentParameters return dump_component(name,type,real_ ## sname, params, glob); \ } -#include "qt_comp.h" +#include "qt_comp_template.c" #undef DECL_COMPONENT @@ -1042,7 +1042,7 @@ FARPROC MODULE_GetProcAddress( fprintf(stderr,name "dispatcher catched -> %p\n",retproc); \ real_ ## sname = retproc; retproc = fake_ ## sname; \ } -#include "qt_comp.h" +#include "qt_comp_template.c" #undef DECL_COMPONENT #endif diff --git a/loader/qt_comp.h b/loader/qt_comp_template.c index 9da5c35e33..3debfa03d7 100644 --- a/loader/qt_comp.h +++ b/loader/qt_comp_template.c @@ -1,6 +1,3 @@ -#ifndef MPLAYER_QT_COMP_H -#define MPLAYER_QT_COMP_H - DECL_COMPONENT(sorenson3,"SMD_ComponentDispatch",1) DECL_COMPONENT(sorenson,"SorensonYUV9Dispatcher",1) DECL_COMPONENT(sorenson1,"SVD_ComponentDispatch",1) @@ -28,5 +25,3 @@ DECL_COMPONENT(mace3d,"Mace3DecompDispatch",0) DECL_COMPONENT(prores,"IcpDecompressorComponentDispatch",0) //DECL_COMPONENT(,"",0) - -#endif /* MPLAYER_QT_COMP_H */ |