diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2009-11-09 22:30:21 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2009-11-09 22:30:21 +0000 |
commit | 9c2eca8f1785dc022b5fc9773137e322ab9e317a (patch) | |
tree | 78e1e8c7ba146bf5f45b9b2754a948905d85614d /xen/common/unlzma.c | |
parent | abe3377eb20289b008f46682d91e20f42e3f08af (diff) | |
download | xen-9c2eca8f1785dc022b5fc9773137e322ab9e317a.tar.gz xen-9c2eca8f1785dc022b5fc9773137e322ab9e317a.tar.bz2 xen-9c2eca8f1785dc022b5fc9773137e322ab9e317a.zip |
unlzma: Remove 'inline' decl from non-static function.
Breaks the build with some versions of gcc.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/common/unlzma.c')
-rw-r--r-- | xen/common/unlzma.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/xen/common/unlzma.c b/xen/common/unlzma.c index 45e644fc54..2e9d038ac0 100644 --- a/xen/common/unlzma.c +++ b/xen/common/unlzma.c @@ -524,12 +524,12 @@ static inline void INIT process_bit1(struct writer *wr, struct rc *rc, -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; |