diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2011-11-11 14:29:21 +0100 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2011-11-11 14:29:21 +0100 |
commit | 8901ea9184c3c02232f9c33a6daeeeed827c645e (patch) | |
tree | a9348e56d0c52868a8f80a4d9691ba119bbd15ac /xen/common/decompress.h | |
parent | 3d4e3e903e3b4bbfdab4924a71bdab28fb62f84f (diff) | |
download | xen-8901ea9184c3c02232f9c33a6daeeeed827c645e.tar.gz xen-8901ea9184c3c02232f9c33a6daeeeed827c645e.tar.bz2 xen-8901ea9184c3c02232f9c33a6daeeeed827c645e.zip |
Decompressors: get rid of set_error_fn() macro
From: Lasse Collin <lasse.collin@tukaani.org>
set_error_fn() is a useless complication. Only unlzma.c had some use
for it and that was easy to change too.
This also gets rid of the static function pointer "error".
Signed-off-by: Lasse Collin <lasse.collin@tukaani.org>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed-by: Jan Beulich <jbeulich@suse.com>
Diffstat (limited to 'xen/common/decompress.h')
-rw-r--r-- | xen/common/decompress.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/xen/common/decompress.h b/xen/common/decompress.h index f329770749..bd62b5dc74 100644 --- a/xen/common/decompress.h +++ b/xen/common/decompress.h @@ -10,9 +10,6 @@ #define INIT __init #define INITDATA __initdata -static void(*__initdata error)(const char *); -#define set_error_fn(x) error = x; - #define malloc xmalloc_bytes #define free xfree |