Module: xenomai-forge Branch: next Commit: ff38853428afe9c42af1c1ca98f3bfec3bcd044a URL: http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=ff38853428afe9c42af1c1ca98f3bfec3bcd044a
Author: Jan Kiszka <jan.kis...@siemens.com> Date: Mon Nov 11 18:33:01 2013 +0100 cobalt/syscall: Add missing prefix to sc_cobalt_check_init Pure cosmetic, no functional change. Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- include/cobalt/uapi/syscall.h | 2 +- kernel/cobalt/posix/syscall.c | 2 +- lib/cobalt/mutex.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/cobalt/uapi/syscall.h b/include/cobalt/uapi/syscall.h index f8d1511..d536c89 100644 --- a/include/cobalt/uapi/syscall.h +++ b/include/cobalt/uapi/syscall.h @@ -40,7 +40,7 @@ #define sc_cobalt_clock_settime 16 #define sc_cobalt_clock_nanosleep 17 #define sc_cobalt_mutex_init 18 -#define sc_cobalt_check_init 19 +#define sc_cobalt_mutex_check_init 19 #define sc_cobalt_mutex_destroy 20 #define sc_cobalt_mutex_lock 21 #define sc_cobalt_mutex_timedlock 22 diff --git a/kernel/cobalt/posix/syscall.c b/kernel/cobalt/posix/syscall.c index f79fa60..3848b9a 100644 --- a/kernel/cobalt/posix/syscall.c +++ b/kernel/cobalt/posix/syscall.c @@ -111,7 +111,7 @@ static struct xnsyscall cobalt_syscalls[] = { SKINCALL_DEF(sc_cobalt_clock_settime, cobalt_clock_settime, any), SKINCALL_DEF(sc_cobalt_clock_nanosleep, cobalt_clock_nanosleep, nonrestartable), SKINCALL_DEF(sc_cobalt_mutex_init, cobalt_mutex_init, any), - SKINCALL_DEF(sc_cobalt_check_init, cobalt_mutex_check_init, any), + SKINCALL_DEF(sc_cobalt_mutex_check_init, cobalt_mutex_check_init, any), SKINCALL_DEF(sc_cobalt_mutex_destroy, cobalt_mutex_destroy, any), SKINCALL_DEF(sc_cobalt_mutex_lock, cobalt_mutex_lock, primary), SKINCALL_DEF(sc_cobalt_mutex_timedlock, cobalt_mutex_timedlock, primary), diff --git a/lib/cobalt/mutex.c b/lib/cobalt/mutex.c index 9655eca..39d85a4 100644 --- a/lib/cobalt/mutex.c +++ b/lib/cobalt/mutex.c @@ -83,7 +83,7 @@ COBALT_IMPL(int, pthread_mutex_init, (pthread_mutex_t *mutex, if (_mutex->magic == COBALT_MUTEX_MAGIC) { err = -XENOMAI_SKINCALL1(__cobalt_muxid, - sc_cobalt_check_init,_mutex); + sc_cobalt_mutex_check_init,_mutex); if (err) return err; _______________________________________________ Xenomai-git mailing list Xenomai-git@xenomai.org http://www.xenomai.org/mailman/listinfo/xenomai-git