include/xbps_api.h.in: drop __{BEGIN,END}_DECLS.

This commit is contained in:
Juan RP 2013-03-03 11:21:26 +01:00
parent 42274f939c
commit 460e2e07fe

View File

@ -35,22 +35,6 @@
#include <prop/proplib.h> #include <prop/proplib.h>
#include <confuse.h> #include <confuse.h>
#ifdef __cplusplus
# ifndef __BEGIN_DECLS
# define __BEGIN_DECLS extern "C" {
# endif
# ifndef __END_DECLS
# define __END_DECLS }
# endif
#else
# ifndef __BEGIN_DECLS
# define __BEGIN_DECLS
# endif
# ifndef __END_DECLS
# define __END_DECLS
# endif
#endif
/** /**
* @file include/xbps_api.h * @file include/xbps_api.h
* @brief XBPS Library API header * @brief XBPS Library API header
@ -214,7 +198,9 @@
*/ */
#define XBPS_FETCH_TIMEOUT 30 #define XBPS_FETCH_TIMEOUT 30
__BEGIN_DECLS #ifdef __cplusplus
extern "C" {
#endif
/** @addtogroup initend */ /** @addtogroup initend */
/*@{*/ /*@{*/
@ -1720,6 +1706,8 @@ int xbps_cmpver(const char *pkg1, const char *pkg2);
/*@}*/ /*@}*/
__END_DECLS #ifdef __cplusplus
}
#endif
#endif /* !_XBPS_API_H_ */ #endif /* !_XBPS_API_H_ */