[PATCH 3/5] libcflat.h: define NULL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Michael S. Tsirkin <mst@xxxxxxxxxx>
---
 lib/libcflat.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/libcflat.h b/lib/libcflat.h
index e005d3a..0875bd9 100644
--- a/lib/libcflat.h
+++ b/lib/libcflat.h
@@ -56,4 +56,5 @@ extern long atol(const char *ptr);
 
 #define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER)
 
+#define NULL ((void *)0UL)
 #endif
-- 
MST

--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux