--- a/master/master.c Wed Jul 02 12:19:25 2008 +0000
+++ b/master/master.c Wed Jul 02 14:06:10 2008 +0000
@@ -1122,6 +1122,9 @@
/*****************************************************************************/
+/** Common implementation for ec_master_find_domain() and
+ * ec_master_find_domain_const().
+ */
#define EC_FIND_DOMAIN \
do { \
list_for_each_entry(domain, &master->domains, list) { \
@@ -1142,8 +1145,6 @@
EC_FIND_DOMAIN;
}
-/*****************************************************************************/
-
const ec_domain_t *ec_master_find_domain_const(
const ec_master_t *master, /**< EtherCAT master. */
unsigned int index /**< Domain index. */