Drop requirement of confuse header for the public API; it's only used by libxbps.

This commit is contained in:
Juan RP 2013-06-19 11:29:04 +02:00
parent 55af300e65
commit 4ef66d99bb
2 changed files with 6 additions and 1 deletions

View File

@ -33,7 +33,6 @@
#include <archive.h> #include <archive.h>
#include <archive_entry.h> #include <archive_entry.h>
#include <prop/proplib.h> #include <prop/proplib.h>
#include <confuse.h>
/** /**
* @file include/xbps_api.h * @file include/xbps_api.h
@ -430,6 +429,10 @@ struct xbps_unpack_cb_data {
bool entry_is_conf; bool entry_is_conf;
}; };
#ifndef LIBXBPS_PRIVATE
typedef void *cfg_t;
#endif
/** /**
* @struct xbps_handle xbps_api.h "xbps_api.h" * @struct xbps_handle xbps_api.h "xbps_api.h"
* @brief Generic XBPS structure handler for initialization. * @brief Generic XBPS structure handler for initialization.

View File

@ -32,6 +32,8 @@
#endif #endif
#include <assert.h> #include <assert.h>
#include <confuse.h>
#define LIBXBPS_PRIVATE
#include <xbps_api.h> #include <xbps_api.h>
/* /*
* By default all public functions have default visibility, unless * By default all public functions have default visibility, unless