Drop requirement of confuse header for the public API; it's only used by libxbps.
This commit is contained in:
parent
55af300e65
commit
4ef66d99bb
@ -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.
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user