rem: static int change_semaphore( ser_lock_t* s  , int val )
add: int change_semaphore( ser_lock_t* s  , int val )
context: static int change_semaphore( ser_lock_t* s  , int val ){	struct sembuf pbuf;	int r;	pbuf.sem_num = s->semaphore_index ;	pbuf.sem_op =val;	pbuf.sem_flg = 0;tryagain:	r=semop( s->semaphore_set, &pbuf ,  1 /* just 1 op */ );	if (r==-1) {		if (errno==EINTR) {			DBG("signal received in a semaphore\n");			goto tryagain;		} else {			LOG(L_CRIT, "ERROR: change_semaphore(%x, %x, 1) : %s\n",					s->semaphore_set, &pbuf,					strerror(errno));		}	}	return r;}