xbps_api.h: use __BEGIN/END_DECLS.
--HG-- extra : convert_revision : xtraeme%40gmail.com-20091118090212-a3tvgnybkrg2p3lk
This commit is contained in:
parent
a8562d6eb1
commit
f847401c4f
@ -28,6 +28,7 @@
|
|||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
#include <sys/cdefs.h>
|
||||||
#include <sys/queue.h>
|
#include <sys/queue.h>
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
@ -74,6 +75,8 @@
|
|||||||
#define SYMEXPORT
|
#define SYMEXPORT
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
__BEGIN_DECLS
|
||||||
|
|
||||||
/* From lib/configure.c */
|
/* From lib/configure.c */
|
||||||
int SYMEXPORT xbps_configure_pkg(const char *, const char *, bool);
|
int SYMEXPORT xbps_configure_pkg(const char *, const char *, bool);
|
||||||
int SYMEXPORT xbps_configure_all_pkgs(void);
|
int SYMEXPORT xbps_configure_all_pkgs(void);
|
||||||
@ -226,4 +229,6 @@ int SYMEXPORT xbps_get_flags(void);
|
|||||||
bool SYMEXPORT xbps_yesno(const char *, ...);
|
bool SYMEXPORT xbps_yesno(const char *, ...);
|
||||||
bool SYMEXPORT xbps_noyes(const char *, ...);
|
bool SYMEXPORT xbps_noyes(const char *, ...);
|
||||||
|
|
||||||
|
__END_DECLS
|
||||||
|
|
||||||
#endif /* !_XBPS_API_H_ */
|
#endif /* !_XBPS_API_H_ */
|
||||||
|
Loading…
Reference in New Issue
Block a user