[libgepub] Remove libarchive from the public API



commit 8de9410255f57d90e541ca487c06020887911c8a
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jun 1 01:14:44 2016 +0200

    Remove libarchive from the public API
    
    There are no parts of libarchive used in the public headers, so it's an
    implementation detail. Hide it from view.

 libgepub/gepub-archive.c |    2 ++
 libgepub/gepub-archive.h |    2 --
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgepub/gepub-archive.c b/libgepub/gepub-archive.c
index 64bd2b9..d549394 100644
--- a/libgepub/gepub-archive.c
+++ b/libgepub/gepub-archive.c
@@ -20,6 +20,8 @@
 #include <config.h>
 #include <libxml/parser.h>
 #include <libxml/tree.h>
+#include <archive.h>
+#include <archive_entry.h>
 
 #include "gepub-archive.h"
 #include "gepub-utils.h"
diff --git a/libgepub/gepub-archive.h b/libgepub/gepub-archive.h
index 19b83c5..b707617 100644
--- a/libgepub/gepub-archive.h
+++ b/libgepub/gepub-archive.h
@@ -23,8 +23,6 @@
 #include <glib-object.h>
 #include <gio/gio.h>
 #include <glib.h>
-#include <archive.h>
-#include <archive_entry.h>
 
 G_BEGIN_DECLS
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]