summaryrefslogtreecommitdiffstats
path: root/debian/patches/0100-ansi-c.patch
blob: 9a2345c692751db02497cee5b24e2946ce997fca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Author: Petter Reinholdtsen <pere@hungry.com>
Description:
 Make sure the code compiles when using -ansi. Renames non-ANSI C 'inline' to
 '__inline'.

Index: trunk/types.h
===================================================================
--- trunk.orig/types.h
+++ trunk/types.h
@@ -31,7 +31,7 @@ typedef struct {
 #endif
 
 #if defined(ALIGNMENT_WORKAROUND) || defined(BIGENDIAN)
-static inline u64 U64(u32 low, u32 high)
+static __inline u64 U64(u32 low, u32 high)
 {
 	u64 self;