Index: src/main.c =================================================================== RCS file: /cvsroot/cscope/cscope/src/main.c,v retrieving revision 1.38 diff -u -r1.38 main.c --- src/main.c 16 Aug 2005 20:05:35 -0000 1.38 +++ src/main.c 8 Apr 2006 22:29:30 -0000 @@ -123,7 +123,7 @@ #endif #if defined(KEY_RESIZE) && !defined(__DJGPP__) -void sigwinch_handler(int sig, siginfo_t *info, void *unused) +void sigwinch_handler(int sig) { ungetch(KEY_RESIZE); } @@ -150,9 +150,8 @@ /* save the command name for messages */ argv0 = argv[0]; #if defined(KEY_RESIZE) && !defined(__DJGPP__) - winch_action.sa_sigaction = sigwinch_handler; + winch_action.sa_handler = sigwinch_handler; sigemptyset(&winch_action.sa_mask); - winch_action.sa_flags = SA_SIGINFO; sigaction(SIGWINCH,&winch_action,NULL); #endif /* set the options */