[libbdplus-devel] Replace include with forward declaration

anonymous git at videolan.org
Fri Mar 24 11:34:35 CET 2017


libbdplus | branch: master | anonymous <anonymous at anonymous.org> | Fri Mar 24 12:20:22 2017 +0200| [b9be70ddceebc4b6a9eff29a72bd680e10e091c7] | committer: anonymous

Replace include with forward declaration

> http://git.videolan.org/gitweb.cgi/libbdplus.git/?a=commit;h=b9be70ddceebc4b6a9eff29a72bd680e10e091c7
---

 src/file/file_default.h | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/file/file_default.h b/src/file/file_default.h
index 9dd53b1..16796f6 100644
--- a/src/file/file_default.h
+++ b/src/file/file_default.h
@@ -20,10 +20,9 @@
 #ifndef FILE_DEFAULT_H_
 #define FILE_DEFAULT_H_
 
-#include "filesystem.h"
-
 #include "util/attributes.h"
 
-BD_PRIVATE BDPLUS_FILE_H *file_open_default(void *root_path, const char *file_name);
+struct bdplus_file;
+BD_PRIVATE struct bdplus_file *file_open_default(void *root_path, const char *file_name);
 
 #endif /* FILE_DEFAULT_H_ */



More information about the libbdplus-devel mailing list