mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-29 13:22:21 +01:00
- linux-headers is -dev dependency - patch errors detected by gcc5.1 - workaround gcc5.1 warning (that gets treated as error)
27 lines
1.1 KiB
Diff
27 lines
1.1 KiB
Diff
--- userland-fb11b39d97371c076eef7c85bbcab5733883a41e.orig/interface/vcos/vcos_types.h
|
|
+++ userland-fb11b39d97371c076eef7c85bbcab5733883a41e/interface/vcos/vcos_types.h
|
|
@@ -121,10 +121,10 @@
|
|
#if defined(NDEBUG)
|
|
|
|
#ifdef __GNUC__
|
|
-# define VCOS_INLINE_DECL extern __inline__
|
|
+# define VCOS_INLINE_DECL extern
|
|
# define VCOS_INLINE_IMPL static __inline__
|
|
#else
|
|
-# define VCOS_INLINE_DECL static _VCOS_INLINE /* declare a func */
|
|
+# define VCOS_INLINE_DECL extern
|
|
# define VCOS_INLINE_IMPL static _VCOS_INLINE /* implement a func inline */
|
|
#endif
|
|
|
|
--- userland-fb11b39d97371c076eef7c85bbcab5733883a41e.orig/interface/vcos/pthreads/vcos_platform_types.h
|
|
+++ userland-fb11b39d97371c076eef7c85bbcab5733883a41e/interface/vcos/pthreads/vcos_platform_types.h
|
|
@@ -61,7 +61,7 @@
|
|
#define VCOS_ASSERT_MSG(...) ((VCOS_ASSERT_LOGGING && !VCOS_ASSERT_LOGGING_DISABLE) ? vcos_pthreads_logging_assert(__FILE__, __func__, __LINE__, __VA_ARGS__) : (void)0)
|
|
|
|
#define VCOS_INLINE_BODIES
|
|
-#define VCOS_INLINE_DECL extern __inline__
|
|
+#define VCOS_INLINE_DECL extern
|
|
#define VCOS_INLINE_IMPL static __inline__
|
|
|
|
#ifdef __cplusplus
|