mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-09-06 21:51:49 +00:00
kvm tool: Remove the __stringify*() definition from util.h
Include the Linux kernel header file linux/stringify.h file instead of redefining the __stringify* macros Signed-off-by: Prasad Joshi <prasadjoshi124@gmail.com> Signed-off-by: Pekka Enberg <penberg@kernel.org>
This commit is contained in:
committed by
Will Deacon
parent
73b7d03849
commit
ac60053316
+2
-3
@@ -1,3 +1,5 @@
|
||||
#include <linux/stringify.h>
|
||||
|
||||
#ifndef KVM__UTIL_H
|
||||
#define KVM__UTIL_H
|
||||
|
||||
@@ -27,9 +29,6 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#define __stringify_1(x) #x
|
||||
#define __stringify(x) __stringify_1(x)
|
||||
|
||||
extern void die(const char *err, ...) NORETURN __attribute__((format (printf, 1, 2)));
|
||||
extern void die_perror(const char *s) NORETURN;
|
||||
extern int error(const char *err, ...) __attribute__((format (printf, 1, 2)));
|
||||
|
||||
Reference in New Issue
Block a user