include/ecrt.h
changeset 1248 3cc16b60a571
parent 1244 0b70040d3daa
child 1254 c19d273a9e76
--- a/include/ecrt.h	Thu Oct 02 13:40:23 2008 +0000
+++ b/include/ecrt.h	Thu Oct 02 15:38:10 2008 +0000
@@ -788,6 +788,8 @@
         ec_domain_t *domain /**< Domain. */
         );
 
+#ifdef __KERNEL__
+
 /** Provide external memory to store the domain's process data.
  *
  * Call this after all Pdo entries have been registered and before activating
@@ -802,6 +804,8 @@
                           data in. */
         );
 
+#endif /* __KERNEL__ */
+
 /** Returns the domain's process data.
  *
  * If external memory was provided with ecrt_domain_external_memory(), the