update prototype for signal handlers to RETSIGTYPE (*)(int)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8581 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1997, 1998, 1999 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1995 - 200 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -283,7 +283,7 @@ int
|
||||
k_hasafs(void)
|
||||
{
|
||||
#if !defined(NO_AFS) && defined(SIGSYS)
|
||||
RETSIGTYPE (*saved_func)();
|
||||
RETSIGTYPE (*saved_func)(int);
|
||||
#endif
|
||||
int saved_errno;
|
||||
char *env = getenv ("AFS_SYSCALL");
|
||||
|
@@ -125,7 +125,7 @@
|
||||
#endif
|
||||
|
||||
#ifndef SIG_ERR
|
||||
#define SIG_ERR ((RETSIGTYPE (*)())-1)
|
||||
#define SIG_ERR ((RETSIGTYPE (*)(int))-1)
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -235,7 +235,7 @@
|
||||
|
||||
#if IRIX != 4 /* fix for compiler bug */
|
||||
#ifdef RETSIGTYPE
|
||||
typedef RETSIGTYPE (*SigAction)(/* int??? */);
|
||||
typedef RETSIGTYPE (*SigAction)(int);
|
||||
SigAction signal(int iSig, SigAction pAction); /* BSD compatible */
|
||||
#endif
|
||||
#endif
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1995, 1996, 1997 Kungliga Tekniska H<>gskolan
|
||||
* Copyright (c) 1995 - 2000 Kungliga Tekniska H<>gskolan
|
||||
* (Royal Institute of Technology, Stockholm, Sweden).
|
||||
* All rights reserved.
|
||||
*
|
||||
@@ -49,8 +49,6 @@ RCSID("$Id$");
|
||||
* Do we need any extra hacks for SIGCLD and/or SIGCHLD?
|
||||
*/
|
||||
|
||||
typedef RETSIGTYPE (*SigAction)(/* int??? */);
|
||||
|
||||
SigAction
|
||||
signal(int iSig, SigAction pAction)
|
||||
{
|
||||
|
Reference in New Issue
Block a user