void _simple_lock_assert(lkp, state, id, l) __volatile struct simplelock *lkp; const char *id; int l; note that state is not declared . . . the prototype declares it as type int. Should we not have then: int state ; here??? -- William C. Allen, BLS, EET allenwc@infomatrix.ca www.infomatrix.ca