Kalle Olavi Niemitalo <[EMAIL PROTECTED]> writes:

> static SIGRETTYPE (*orig_handlers)(int)[NSIG];
> 
> This defines a pointer to a function returning an array, which
> isn't allowed in C.  I believe the purpose was to define an array
> of pointers to functions:
> 
> static SIGRETTYPE (*orig_handlers[NSIG])(int);

Thanks!

However, I can't test this change because I HAVE_SIGACTION.

2000-05-03  Marius Vollmer  <[EMAIL PROTECTED]>

        * scmsigs.c (orig_handlers) [HAVE_SIGACTION]: Fix declaration to
        be an array of function pointers instead of being a pointer to an
        array returning function.  Thanks to Kalle Olavi Niemitalo!

Reply via email to