summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-20 20:09:06 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-02-20 20:09:06 +0000
commit4a2e468d4b29c3fd4b89c7b33cd9aefba885bfd6 (patch)
treedf07f7f849c680c721dcb408167378283c890412
parentb9ac9f87f78c56533ed9f48d9adfedcaf70a4518 (diff)
downloadmpv-4a2e468d4b29c3fd4b89c7b33cd9aefba885bfd6.tar.bz2
mpv-4a2e468d4b29c3fd4b89c7b33cd9aefba885bfd6.tar.xz
Add asx_parser_build_tree() to asxparser.h instead of forward declaring it.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30674 b3059339-0415-0410-9bf9-f77b7e298cf2
-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"