[OSADL-svn-commits] r11 - fddi-20070618-1-ptx1/tests

OSADL repository commits osadl-svn-commits at lists.osadl.org
Tue Oct 2 11:41:42 CEST 2007


Author: robert
Date: Mon Jun 18 22:07:32 2007
New Revision: 11

Log:
* fixed header files
* disable unused variable
* added main


Modified:
   fddi-20070618-1-ptx1/tests/test_hess_1.c

Modified: fddi-20070618-1-ptx1/tests/test_hess_1.c
==============================================================================
--- fddi-20070618-1-ptx1/tests/test_hess_1.c	(original)
+++ fddi-20070618-1-ptx1/tests/test_hess_1.c	Mon Jun 18 22:07:32 2007
@@ -1,7 +1,9 @@
-#include <string.h>
 #include <memory.h>
+#include <stdio.h>
 #include <stdlib.h>
-#include "fddi.h"
+#include <string.h>
+
+#include <osadl/fddi.h>
 
 #define MAX_IO_INTERFACES	16
 #define MAX_IO_INTERFACE_INSTS	64
@@ -261,7 +263,7 @@
 
 int send_iotransport_unit(IO_TRANSPORT_UNIT iotpu)
 {
-	int res = 0;
+	// FIXME int res = 0;
 	/* pseudo code, because low level interface is not ready */
 	/* may be redirected trough stack */
 	/*
@@ -284,3 +286,11 @@
 	*iovars = iotpu->varlist;
 	return iotpu->num_var;
 }
+
+int main(void)
+{
+	printf("running test\n");
+	return 0;
+}
+
+


More information about the OSADL-svn-commits mailing list