void-packages/srcpkgs/xbps/patches/0001-include-xbps_api_impl.h-remove-__-BEGIN-END-_DECLS-t.patch
2014-01-08 14:24:02 +01:00

33 lines
780 B
Diff

From 3042dcd7aaaa9bb2970cc60ee72c8632ff8ac5b6 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Tue, 7 Jan 2014 21:19:03 +0100
Subject: [PATCH 1/2] include/xbps_api_impl.h: remove __{BEGIN,END}_DECLS to
make musl happy.
---
include/xbps_api_impl.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/include/xbps_api_impl.h b/include/xbps_api_impl.h
index 1e94346..497477e 100644
--- a/include/xbps_api_impl.h
+++ b/include/xbps_api_impl.h
@@ -92,8 +92,6 @@
#endif
-__BEGIN_DECLS
-
/**
* @private
* From lib/external/dewey.c
@@ -263,6 +261,4 @@ void HIDDEN xbps_pkg_find_conflicts(struct xbps_handle *,
*/
const char HIDDEN *vpkg_user_conf(struct xbps_handle *, const char *, bool);
-__END_DECLS
-
#endif /* !_XBPS_API_IMPL_H_ */
--
1.8.5.2