Annotation of pkgsrc/sysutils/socket/patches/patch-ae, revision 1.2

1.1       tron        1: $NetBSD$
                      2: 
1.2     ! minskim     3: --- siglist.c.orig     1992-08-30 08:50:48.000000000 -0500
        !             4: +++ siglist.c
        !             5: @@ -23,6 +23,7 @@ Foundation, 675 Mass Ave, Cambridge, MA 
1.1       tron        6:  
                      7:  #include <stdio.h>
                      8:  #include <signal.h>
                      9: +#include <stdlib.h>
                     10:  
                     11:  #if !defined (NSIG)
                     12:  #  if defined (_NSIG)
1.2     ! minskim    13: @@ -32,12 +33,17 @@ Foundation, 675 Mass Ave, Cambridge, MA 
1.1       tron       14:  #  endif /* !_NSIG */
                     15:  #endif /* !NSIG */
                     16:  
                     17: -char *sys_siglist[NSIG];
                     18: +#if HAVE_SYS_PARAM_H
                     19: +# include <sys/param.h>
                     20: +#endif
                     21:  
                     22: -extern *malloc ();
1.2     ! minskim    23: +#if !(defined(BSD) && (BSD >=199306)) && !defined(__linux__)
1.1       tron       24: +char *sys_siglist[NSIG];
                     25: +#endif
                     26:  
                     27: -initialize_siglist ()
                     28: +void initialize_siglist ()
                     29:  {
                     30: +#if !(defined(BSD) && (BSD >=199306))
                     31:    register int i;
                     32:  
                     33:    for (i = 0; i < NSIG; i++)
1.2     ! minskim    34: @@ -219,4 +225,5 @@ initialize_siglist ()
1.1       tron       35:          sprintf (sys_siglist[i], "Unknown Signal #%d", i);
                     36:        }
                     37:      }
                     38: +#endif /* !(defined(BSD) && (BSD >=199306)) */
                     39:  }

CVSweb <webmaster@jp.NetBSD.org>