Remove compat32 stuff.

This commit is contained in:
christos 2005-09-24 17:28:39 +00:00
parent 5c03cd2255
commit 9255e4c0ab
1 changed files with 1 additions and 51 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: siginfo.h,v 1.12 2004/04/03 19:43:08 matt Exp $ */
/* $NetBSD: siginfo.h,v 1.13 2005/09/24 17:28:39 christos Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@ -39,10 +39,6 @@
#ifndef _SYS_SIGINFO_H_
#define _SYS_SIGINFO_H_
#if defined(_KERNEL_OPT)
#include "opt_compat_netbsd32.h"
#endif
#include <machine/signal.h> /* XXX: __HAVE_SIGINFO */
#ifdef _KERNEL
#include <sys/queue.h>
@ -242,50 +238,4 @@ typedef union siginfo {
#define SI_MESGQ -4 /* Generated by arrival of a message on */
/* an empty message queue */
#if defined(COMPAT_NETBSD32) && defined(_KERNEL)
typedef union sigval32 {
int sival_int;
uint32_t sival_ptr;
} sigval32_t;
struct __ksiginfo32 {
int _signo;
int _code;
int _errno;
union {
struct {
pid_t _pid;
uid_t _uid;
sigval32_t _sigval;
} _rt;
struct {
pid_t _pid;
uid_t _uid;
int _status;
clock_t _utime;
clock_t _stime;
} _child;
struct {
uint32_t _addr;
int _trap;
} _fault;
struct {
int32_t _band;
int _fd;
} _poll;
} _reason;
};
typedef union siginfo32 {
char si_pad[128];
struct __ksiginfo32 _info;
} siginfo32_t;
#endif /* COMPAT_NETBSD32 && _KERNEL */
#endif /* !_SYS_SIGINFO_H_ */