--- libaitsess/src/aitsess.c 2012/02/10 16:45:36 1.3.2.3 +++ libaitsess/src/aitsess.c 2012/02/10 16:54:37 1.3.2.4 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ -* $Id: aitsess.c,v 1.3.2.3 2012/02/10 16:45:36 misho Exp $ +* $Id: aitsess.c,v 1.3.2.4 2012/02/10 16:54:37 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -566,13 +566,13 @@ map_isSemaphoreOK(ait_sess_t * __restrict s) } /* - * map_addSemaphore() MMAP unblock semaphore, increment semaphore + * map_incSemaphore() MMAP unblock semaphore, increment semaphore * * @s = Session item * return: 0 Ok, -1 error: can`t increment */ int -map_addSemaphore(ait_sess_t * __restrict s) +map_incSemaphore(ait_sess_t * __restrict s) { if (!s) return -1; @@ -628,13 +628,13 @@ ipc_isSemaphoreOK(ait_sess_t * __restrict s) } /* - * ipc_addSemaphore() IPC unblock semaphore, increment semaphore + * ipc_incSemaphore() IPC unblock semaphore, increment semaphore * * @s = Session item * return: 0 Ok, -1 error: can`t increment */ int -ipc_addSemaphore(ait_sess_t * __restrict s) +ipc_incSemaphore(ait_sess_t * __restrict s) { struct sembuf sb = { 0, 1, 0 };