xen/decompress: drop STATIC and INIT

Except for one last instance, all users have been removed in earlier
changes.

Requested-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
Jan Beulich committed 2021-04-29 16:03:38 +02:00
1 parent 2c6af6c7bb
commit ec0ec16487
2 files changed
+1 -7

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@
#include <asm/setup.h>
#include <asm/acpi.h>
#include "../../../common/decompress.h"
#define XZ_EXTERN STATIC
#define XZ_EXTERN static
#include "../../../common/xz/crc32.c"
/* Constant to indicate "Xen" in unicode u16 format */
-6
View File
@@ -7,9 +7,6 @@
#include <xen/types.h>
#include <xen/xmalloc.h>
#define STATIC static
#define INIT __init
#define malloc xmalloc_bytes
#define free xfree
@@ -18,9 +15,6 @@
#else
#define STATIC static
#define INIT
#undef __init /* tools/libs/guest/xg_private.h has its own one */
#define __init
#define __initdata
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.