diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-11-30 00:53:50 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-11-30 00:53:50 +0000 |
commit | 873578a7965683e3e76420731c1d571908b54848 (patch) | |
tree | cd8153e478f39f9aac7c851672996a8e58ace71e /src/xine-engine/load_plugins.c | |
parent | ad5f52afbed82f29ba0816255edf1ff63533a2ff (diff) | |
download | xine-lib-873578a7965683e3e76420731c1d571908b54848.tar.gz xine-lib-873578a7965683e3e76420731c1d571908b54848.tar.bz2 |
Valid mrls are no more static (except few ones), like file suffix too.
First draft of compat.h (almost empty for now).
CVS patchset: 1139
CVS date: 2001/11/30 00:53:50
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r-- | src/xine-engine/load_plugins.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index 0a3c5f566..61d00b732 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: load_plugins.c,v 1.58 2001/11/25 13:31:24 miguelfreitas Exp $ + * $Id: load_plugins.c,v 1.59 2001/11/30 00:53:51 f1rmb Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -45,10 +45,7 @@ #include "metronom.h" #include "configfile.h" #include "xineutils.h" - -#ifndef __GNUC__ -#define __FUNCTION__ __func__ -#endif +#include "compat.h" /* #define LOAD_LOG @@ -93,7 +90,7 @@ void load_demux_plugins (xine_t *this, if(this == NULL || config == NULL) { printf("%s(%s@%d): parameter should be non null, exiting\n", - __FILE__, __FUNCTION__, __LINE__); + __FILE__, __XINE_FUNCTION__, __LINE__); exit(1); } @@ -343,7 +340,7 @@ static char **_xine_get_featured_input_plugin_ids(xine_t *this, int feature) { plugin_ids[n] = (char *) malloc (strlen(ip->get_identifier(ip)) + 1 ); strcpy (plugin_ids[n], ip->get_identifier(ip)); /* printf("%s(%d): %s is featured\n", */ - /* __FUNCTION__, feature, ip->get_identifier(ip)); */ + /* __XINE_FUNCTION__, feature, ip->get_identifier(ip)); */ n++; } @@ -416,7 +413,7 @@ void load_decoder_plugins (xine_t *this, if(this == NULL || config == NULL) { printf("%s(%s@%d): parameter should be non null, exiting\n", - __FILE__, __FUNCTION__, __LINE__); + __FILE__, __XINE_FUNCTION__, __LINE__); exit(1); } @@ -667,7 +664,7 @@ char **xine_list_video_output_plugins (int visual_type) { } } else { fprintf(stderr, "load_plugins: %s - cannot access plugin dir: %s", - __FUNCTION__, strerror(errno)); + __XINE_FUNCTION__, strerror(errno)); } remove_segv_handler(); @@ -856,7 +853,7 @@ char **xine_list_audio_output_plugins(void) { } } else { fprintf (stderr, "load_plugins: %s - cannot access plugin dir: %s", - __FUNCTION__, strerror(errno)); + __XINE_FUNCTION__, strerror(errno)); } remove_segv_handler(); |