[OSADL-svn-commits] r14 - fddi-20070618-1-ptx1/include/osadl

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


Author: robert
Date: Mon Jun 18 22:09:09 2007
New Revision: 14

Log:
* declare types before they are being used
* added header file protection


Modified:
   fddi-20070618-1-ptx1/include/osadl/fddi.h

Modified: fddi-20070618-1-ptx1/include/osadl/fddi.h
==============================================================================
--- fddi-20070618-1-ptx1/include/osadl/fddi.h	(original)
+++ fddi-20070618-1-ptx1/include/osadl/fddi.h	Mon Jun 18 22:09:09 2007
@@ -1,8 +1,14 @@
+#ifndef _OSADL_FDDI_H
+#define _OSADL_FDDI_H
+
 /* fieldbus device driver interface */
 
 
 /* #include "lldi.h" */
 typedef void *LL_INTERFACE;
+struct _io_interface_inst;
+struct _io_device;
+enum _io_device_command;
 
 /* result codes */
 #define RESOK 0 
@@ -412,3 +418,5 @@
 	*
 	*  result:	Because this function can never fail, the number of io-variables is returned
 	*/
+#endif
+


More information about the OSADL-svn-commits mailing list