[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] unlzma: Remove 'inline' decl from non-static function.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1257805821 0
# Node ID 0d7fb1ab92f490c6c88c36312ce0bae439e4df55
# Parent  a84b90980632d97ad19998165d7b130be04b77af
unlzma: Remove 'inline' decl from non-static function.

Breaks the build with some versions of gcc.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 xen/common/unlzma.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff -r a84b90980632 -r 0d7fb1ab92f4 xen/common/unlzma.c
--- a/xen/common/unlzma.c       Mon Nov 09 20:43:40 2009 +0000
+++ b/xen/common/unlzma.c       Mon Nov 09 22:30:21 2009 +0000
@@ -524,12 +524,12 @@ static inline void INIT process_bit1(str
 
 
 
-STATIC inline int INIT unlzma(unsigned char *buf, unsigned int in_len,
-                             int(*fill)(void*, unsigned int),
-                             int(*flush)(void*, unsigned int),
-                             unsigned char *output,
-                             unsigned int *posp,
-                             void(*error_fn)(const char *x)
+STATIC int INIT unlzma(unsigned char *buf, unsigned int in_len,
+                      int(*fill)(void*, unsigned int),
+                      int(*flush)(void*, unsigned int),
+                      unsigned char *output,
+                      unsigned int *posp,
+                      void(*error_fn)(const char *x)
        )
 {
        struct lzma_header header;

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.