diff mbox

[kvm-unit-tests,v2,1/8] Introduce some type definiations.

Message ID 20100831083649.10672.81313.stgit@FreeLancer (mailing list archive)
State New, archived
Headers show

Commit Message

Jason Wang Aug. 31, 2010, 8:36 a.m. UTC
None
diff mbox

Patch

diff --git a/lib/libcflat.h b/lib/libcflat.h
index d0d3df2..9cb90cf 100644
--- a/lib/libcflat.h
+++ b/lib/libcflat.h
@@ -23,10 +23,14 @@ 
 #include <stdarg.h>
 
 typedef unsigned char u8;
+typedef signed char s8;
 typedef unsigned short u16;
+typedef signed short s16;
 typedef unsigned u32;
+typedef signed s32;
 typedef unsigned long ulong;
 typedef unsigned long long u64;
+typedef signed long long s64;
 typedef unsigned long size_t;
 typedef _Bool bool;