[MPlayer-cvslog] r30674 - in trunk: asxparser.h playtreeparser.c

diego subversion at mplayerhq.hu
Sat Feb 20 21:09:06 CET 2010


Author: diego
Date: Sat Feb 20 21:09:06 2010
New Revision: 30674

Log:
Add asx_parser_build_tree() to asxparser.h instead of forward declaring it.

Modified:
   trunk/asxparser.h
   trunk/playtreeparser.c

Modified: trunk/asxparser.h
==============================================================================
--- trunk/asxparser.h	Sat Feb 20 21:01:56 2010	(r30673)
+++ trunk/asxparser.h	Sat Feb 20 21:09:06 2010	(r30674)
@@ -19,6 +19,8 @@
 #ifndef MPLAYER_ASXPARSER_H
 #define MPLAYER_ASXPARSER_H
 
+#include "playtree.h"
+
 typedef struct ASX_Parser_t ASX_Parser_t;
 
 typedef struct {
@@ -67,4 +69,7 @@ typedef void (*ASX_FreeFunc)(void* arg);
 void
 asx_list_free(void* list_ptr,ASX_FreeFunc free_func);
 
+play_tree_t*
+asx_parser_build_tree(char* buffer,int deep);
+
 #endif /* MPLAYER_ASXPARSER_H */

Modified: trunk/playtreeparser.c
==============================================================================
--- trunk/playtreeparser.c	Sat Feb 20 21:01:56 2010	(r30673)
+++ trunk/playtreeparser.c	Sat Feb 20 21:09:06 2010	(r30674)
@@ -30,6 +30,7 @@
 #include <fcntl.h>
 #include <unistd.h>
 #include <ctype.h>
+#include "asxparser.h"
 #include "m_config.h"
 #include "playtree.h"
 #include "playtreeparser.h"
@@ -38,9 +39,6 @@
 #include "mp_msg.h"
 
 
-extern play_tree_t*
-asx_parser_build_tree(char* buffer, int ref);
-
 #define BUF_STEP 1024
 
 #define WHITES " \n\r\t"


More information about the MPlayer-cvslog mailing list