View | Details | Raw Unified | Return to issue 8163
Collapse All | Expand All

(-)sal/osl/unx/signal.c (+12 lines)
Lines 86-92 Link Here
86
{
86
{
87
       int Signal;
87
       int Signal;
88
       int Action;
88
       int Action;
89
#ifdef IRIX
90
    void (*Handler)();
91
#else
89
    void (*Handler)(int);
92
    void (*Handler)(int);
93
#endif
90
} Signals[] =
94
} Signals[] =
91
{
95
{
92
       { SIGHUP,    ACT_IGNORE, NULL },    /* hangup */
96
       { SIGHUP,    ACT_IGNORE, NULL },    /* hangup */
Lines 150-156 Link Here
150
static sal_Bool                                  bSetWINCHHandler = sal_False;
154
static sal_Bool                                  bSetWINCHHandler = sal_False;
151
static sal_Bool               bSetILLHandler = sal_False;
155
static sal_Bool               bSetILLHandler = sal_False;
152
156
157
#ifdef IRIX
158
static void SignalHandlerFunction();
159
#else
153
static void SignalHandlerFunction(int);
160
static void SignalHandlerFunction(int);
161
#endif
154
extern oslProcessError SAL_CALL osl_psz_getExecutableFile(sal_Char* pszBuffer, sal_uInt32 Max);
162
extern oslProcessError SAL_CALL osl_psz_getExecutableFile(sal_Char* pszBuffer, sal_uInt32 Max);
155
oslProcessError SAL_CALL osl_getCommandArgs(sal_Char* pszBuffer, sal_uInt32 Max);
163
oslProcessError SAL_CALL osl_getCommandArgs(sal_Char* pszBuffer, sal_uInt32 Max);
156
164
Lines 309-315 Link Here
309
                       }
317
                       }
310
               }
318
               }
311
               else
319
               else
320
#ifdef IRIX
321
                       (*Signals[i].Handler)();
322
#else
312
                       (*Signals[i].Handler)(Signal);
323
                       (*Signals[i].Handler)(Signal);
324
#endif
313
       }
325
       }
314
}
326
}

Return to issue 8163