summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--asxparser.h5
-rw-r--r--playtreeparser.c4
2 files changed, 6 insertions, 3 deletions
diff --git a/asxparser.h b/asxparser.h
index b300dde0e3..5422a955f6 100644
--- a/asxparser.h
+++ b/asxparser.h
@@ -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 */
diff --git a/playtreeparser.c b/playtreeparser.c
index 2e3b7fd44a..33a23e6353 100644
--- a/playtreeparser.c
+++ b/playtreeparser.c
@@ -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"