Declare pointers to signal handling functions in full instead of as

sig_t's so that <sys/signal.h> isn't a prerequisite.
This commit is contained in:
Bruce Evans 1996-10-25 16:20:34 +00:00
parent 81a82d4dfd
commit 484141f666
3 changed files with 6 additions and 8 deletions

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: linux.h,v 1.8 1996/03/10 22:30:52 peter Exp $
* $Id: linux.h,v 1.9 1996/10/15 19:22:29 bde Exp $
*/
#ifndef _I386_LINUX_LINUX_H_
@ -96,7 +96,7 @@ struct linux_sigcontext {
struct linux_sigframe {
int sf_sig;
struct linux_sigcontext sf_sc;
sig_t sf_handler;
void (*sf_handler)(int);
};
extern int bsd_to_linux_errno[];
@ -522,5 +522,4 @@ struct trapframe;
#define LINUX_ASYNC_CALLOUT_NOHUP 0x0400
#define LINUX_ASYNC_FLAGS 0x0FFF
#endif /* !_I386_LINUX_LINUX_H_ */

View File

@ -25,7 +25,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
* $Id: linux.h,v 1.8 1996/03/10 22:30:52 peter Exp $
* $Id: linux.h,v 1.9 1996/10/15 19:22:29 bde Exp $
*/
#ifndef _I386_LINUX_LINUX_H_
@ -96,7 +96,7 @@ struct linux_sigcontext {
struct linux_sigframe {
int sf_sig;
struct linux_sigcontext sf_sc;
sig_t sf_handler;
void (*sf_handler)(int);
};
extern int bsd_to_linux_errno[];
@ -522,5 +522,4 @@ struct trapframe;
#define LINUX_ASYNC_CALLOUT_NOHUP 0x0400
#define LINUX_ASYNC_FLAGS 0x0FFF
#endif /* !_I386_LINUX_LINUX_H_ */

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: sysent.h,v 1.9 1996/04/04 01:08:20 smpatel Exp $
* $Id: sysent.h,v 1.10 1996/06/18 05:15:41 dyson Exp $
*/
#ifndef _SYS_SYSENT_H_
@ -56,7 +56,7 @@ struct sysentvec {
int *sv_errtbl; /* errno translation table */
int (*sv_fixup) __P((int **, struct image_params *));
/* stack fixup function */
void (*sv_sendsig) __P((sig_t, int, int, u_long));
void (*sv_sendsig) __P((void (*)(int), int, int, u_long));
/* send signal */
char *sv_sigcode; /* start of sigtramp code */
int *sv_szsigcode; /* size of sigtramp code */