VirtualBox

Changeset 630 in kBuild for trunk/src/ash/trap.c


Ignore:
Timestamp:
Nov 26, 2006 12:24:22 PM (18 years ago)
Author:
bird
Message:

Made it build on linux.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/ash/trap.c

    r626 r630  
    6161#include "var.h"
    6262
     63#ifndef HAVE_SYS_SIGNAME
     64extern void init_sys_signame(void);
     65extern char sys_signame[NSIG][16];
     66#endif
    6367
    6468/*
     
    101105                p += 3;
    102106
     107#ifndef HAVE_SYS_SIGNAME
     108        init_sys_signame();
     109#endif
    103110        for (i = 0; i < NSIG; ++i)
    104111                if (strcasecmp (p, sys_signame[i]) == 0)
     
    116123
    117124        out1str("EXIT ");
     125#ifndef HAVE_SYS_SIGNAME
     126        init_sys_signame();
     127#endif
    118128
    119129        for (n = 1; n < NSIG; n++) {
     
    136146        char **ap;
    137147        int signo;
     148#ifndef HAVE_SYS_SIGNAME
     149        init_sys_signame();
     150#endif
    138151
    139152        if (argc <= 1) {
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette