[rtems commit] rtems: Add const qualifier
Sebastian Huber
sebh at rtems.org
Wed Apr 16 13:29:20 UTC 2014
Module: rtems
Branch: master
Commit: 561c7b2cfe44482838e217cd9170f5181f587042
Changeset: http://git.rtems.org/rtems/commit/?id=561c7b2cfe44482838e217cd9170f5181f587042
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Apr 16 15:34:20 2014 +0200
rtems: Add const qualifier
---
cpukit/rtems/include/rtems/rtems/tasks.h | 6 +++---
cpukit/rtems/src/tasksetaffinity.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/cpukit/rtems/include/rtems/rtems/tasks.h b/cpukit/rtems/include/rtems/rtems/tasks.h
index 9101d9c..72eb553 100644
--- a/cpukit/rtems/include/rtems/rtems/tasks.h
+++ b/cpukit/rtems/include/rtems/rtems/tasks.h
@@ -535,9 +535,9 @@ rtems_status_code rtems_task_get_affinity(
* @retval RTEMS_INVALID_NUMBER Invalid processor affinity set.
*/
rtems_status_code rtems_task_set_affinity(
- rtems_id id,
- size_t cpusetsize,
- cpu_set_t *cpuset
+ rtems_id id,
+ size_t cpusetsize,
+ const cpu_set_t *cpuset
);
#endif
diff --git a/cpukit/rtems/src/tasksetaffinity.c b/cpukit/rtems/src/tasksetaffinity.c
index 3294f97..a7a18be 100644
--- a/cpukit/rtems/src/tasksetaffinity.c
+++ b/cpukit/rtems/src/tasksetaffinity.c
@@ -26,9 +26,9 @@
#include <rtems/score/schedulerimpl.h>
rtems_status_code rtems_task_set_affinity(
- rtems_id id,
- size_t cpusetsize,
- cpu_set_t *cpuset
+ rtems_id id,
+ size_t cpusetsize,
+ const cpu_set_t *cpuset
)
{
Thread_Control *the_thread;
More information about the vc
mailing list