Skip to contentSkip to conversation

syslet demos - add more includes

PATCH In review Jeff Dike 2 participants 2 messages May 31, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 1/3 syslet demos - add more includes

Add a bunch of includes to sys.h and syslet.h to kill off compilation warnings.

--

 sys.h    |    7 +++++++
 syslet.h |    2 ++
 2 files changed, 9 insertions(+)
sys.h +7 -0
Index: async-test-v5/sys.h
===================================================================
@@ -1,5 +1,12 @@
 
 #include <assert.h>
+#include <stdlib.h>
+#include <string.h>
+#include <sys/syscall.h>
+#include <sys/time.h>
+#include <sys/types.h>
+
+#include "syslet.h"
 
 #if DEBUG
 # define pr(x...) do { printf("%d: ", sys_gettid()); printf(x); fflush(stdout); } while (0)
syslet.h +2 -0
Index: async-test-v5/syslet.h
===================================================================
@@ -10,6 +10,8 @@
  * User-space API/ABI definitions:
  */
 
+#include "common.h"
+
 #ifndef __user
 # define __user
 #endif

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

#1 lore raw
Quoted 1 line

Add a bunch of includes to sys.h and syslet.h to kill off compilation warnings.

This, and the patches which add tests, all look great to me.

Ingo, are you patching up your tests or do you want me to take care of these?

- z

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel