Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Dec 1996 00:07:08 +0200 (EET)
From:      jau@jau.tmt.tele.fi
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/2279: questionable parameter types in /usr/include/signal.h
Message-ID:  <199612252207.AAA14384@jau.tmt.tele.fi>
Resent-Message-ID: <199612252210.OAA24035@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2279
>Category:       kern
>Synopsis:       questionable parameter types in /usr/include/signal.h
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 25 14:10:01 PST 1996
>Last-Modified:
>Originator:     Jukka A. Ukkonen
>Organization:
Telecom Finland / Telemedia
>Release:        FreeBSD 2.2-960501-SNAP i386
>Environment:

	

>Description:

	See the patch below in the Fix section.

>How-To-Repeat:

	

>Fix:
	
--- /usr/include/signal.h.orig	Thu Dec 26 00:01:31 1996
+++ /usr/include/signal.h	Wed Dec 25 23:55:02 1996
@@ -36,6 +36,7 @@
 #ifndef _SIGNAL_H_
 #define	_SIGNAL_H_
 
+#include <sys/types.h>
 #include <sys/cdefs.h>
 #include <sys/signal.h>
 #include <machine/ansi.h>
@@ -48,7 +49,7 @@
 __BEGIN_DECLS
 int	raise __P((int));
 #ifndef	_ANSI_SOURCE
-int	kill __P(_BSD_PID_T_, int));
+int	kill __P((pid_t, int));
 int	sigaction __P((int, const struct sigaction *, struct sigaction *));
 int	sigaddset __P((sigset_t *, int));
 int	sigdelset __P((sigset_t *, int));
@@ -59,7 +60,7 @@
 int	sigprocmask __P((int, const sigset_t *, sigset_t *));
 int	sigsuspend __P((const sigset_t *));
 #ifndef _POSIX_SOURCE
-int	killpg __P((_BSD_PID_T_, int));
+int	killpg __P((pid_t, int));
 int	sigblock __P((int));
 int	siginterrupt __P((int, int));
 int	sigpause __P((int));
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612252207.AAA14384>