Made ecrt_domain_size() const.
--- a/include/ecrt.h Thu Oct 09 14:35:08 2008 +0000
+++ b/include/ecrt.h Fri Oct 10 07:58:48 2008 +0000
@@ -785,7 +785,7 @@
* \return Size of the process data image.
*/
size_t ecrt_domain_size(
- ec_domain_t *domain /**< Domain. */
+ const ec_domain_t *domain /**< Domain. */
);
#ifdef __KERNEL__
--- a/lib/domain.c Thu Oct 09 14:35:08 2008 +0000
+++ b/lib/domain.c Fri Oct 10 07:58:48 2008 +0000
@@ -66,13 +66,6 @@
/*****************************************************************************/
-size_t ecrt_domain_size(ec_domain_t *domain)
-{
- return 0;
-}
-
-/*****************************************************************************/
-
uint8_t *ecrt_domain_data(ec_domain_t *domain)
{
return 0;
--- a/master/domain.c Thu Oct 09 14:35:08 2008 +0000
+++ b/master/domain.c Fri Oct 10 07:58:48 2008 +0000
@@ -344,7 +344,7 @@
/*****************************************************************************/
-size_t ecrt_domain_size(ec_domain_t *domain)
+size_t ecrt_domain_size(const ec_domain_t *domain)
{
return domain->data_size;
}