[PATCH 2/2] xz/xz_crc64.c: Add prototypes to fix warnings

Joel Sherrill joel at rtems.org
Wed Apr 5 17:06:15 UTC 2017


---
 cpukit/libmisc/xz/xz_crc64.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/cpukit/libmisc/xz/xz_crc64.c b/cpukit/libmisc/xz/xz_crc64.c
index ca1caee..d8cef37 100644
--- a/cpukit/libmisc/xz/xz_crc64.c
+++ b/cpukit/libmisc/xz/xz_crc64.c
@@ -12,6 +12,11 @@
 
 #include "xz_private.h"
 
+#ifdef __rtems__
+XZ_EXTERN void xz_crc64_init(void);
+XZ_EXTERN uint64_t xz_crc64(const uint8_t *buf, size_t size, uint64_t crc);
+#endif
+
 #ifndef STATIC_RW_DATA
 #	define STATIC_RW_DATA static
 #endif
-- 
1.8.3.1




More information about the devel mailing list