include/ecrt.h
changeset 1611 7c49cd56f96f
parent 1600 e36c92cf58a9
parent 1594 2019bec460ad
child 1804 742607c464c4
--- a/include/ecrt.h	Mon Jan 04 14:17:31 2010 +0100
+++ b/include/ecrt.h	Fri Jan 08 11:26:07 2010 +0100
@@ -208,8 +208,6 @@
 
 /*****************************************************************************/
 
-#ifndef __KERNEL__
-
 /** Master information.
  *
  * This is used as an output parameter of ecrt_master().
@@ -246,8 +244,6 @@
     char name[EC_MAX_STRING_LENGTH]; /**< Name of the slave. */
 } ec_slave_info_t;
 
-#endif // #ifndef __KERNEL__
-
 /*****************************************************************************/
 
 /** Domain working counter interpretation.
@@ -539,8 +535,6 @@
         uint32_t product_code /**< Expected product code. */
         );
 
-#ifndef __KERNEL__
-
 /** Obtains master information.
  *
  * No memory is allocated on the heap in
@@ -573,6 +567,8 @@
                                       information */
         );
 
+#ifndef __KERNEL__
+
 /** Returns the proposed configuration of a slave's sync manager.
  *
  * Fills a given ec_sync_info_t structure with the attributes of a sync