WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] unlzma: Remove 'inline' decl from non-sta

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] unlzma: Remove 'inline' decl from non-static function.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 09 Nov 2009 14:35:10 -0800
Delivery-date: Mon, 09 Nov 2009 14:35:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] unlzma: Remove 'inline' decl from non-static function., Xen patchbot-unstable <=