=================================================================== RCS file: /cvs/prex-old/usr/sample/alarm/alarm.c,v retrieving revision 1.1.1.1 retrieving revision 1.1.1.1.2.1 diff -u -r1.1.1.1 -r1.1.1.1.2.1 --- prex-old/usr/sample/alarm/alarm.c 2008/06/03 10:38:50 1.1.1.1 +++ prex-old/usr/sample/alarm/alarm.c 2008/08/13 17:12:42 1.1.1.1.2.1 @@ -62,7 +62,7 @@ * Re-program alarm timer as count * 200msec. */ static void -alarm_handler(int code, void *regs) +alarm_handler(int code) { u_long tick; @@ -77,7 +77,7 @@ printf("Ring! count=%d time=%d msec\n", count, (u_int)((tick - start_tick) * 1000 / hz)); } - exception_return(regs); + exception_return(); } int