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:
Prasad Joshi
2015-06-01 16:39:42 +01:00
committed by Will Deacon
parent 73b7d03849
commit ac60053316
+2 -3
View File
@@ -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)));