Module Name: src
Committed By: christos
Date: Fri Aug 27 08:40:38 UTC 2010
Modified Files:
src/include: signal.h unistd.h
Log Message:
The signal number argument in psignal is int not unsigned int.
Add psiginfo.
To generate a diff of this commit:
cvs rdiff -u -r1.53 -r1.54 src/include/signal.h
cvs rdiff -u -r1.123 -r1.124 src/include/unistd.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/signal.h
diff -u src/include/signal.h:1.53 src/include/signal.h:1.54
--- src/include/signal.h:1.53 Fri Jul 30 20:04:42 2010
+++ src/include/signal.h Fri Aug 27 04:40:38 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: signal.h,v 1.53 2010/07/31 00:04:42 joerg Exp $ */
+/* $NetBSD: signal.h,v 1.54 2010/08/27 08:40:38 christos Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -180,6 +180,7 @@
defined(_NETBSD_SOURCE)
int sigwait (const sigset_t * __restrict, int * __restrict);
int sigwaitinfo(const sigset_t * __restrict, siginfo_t * __restrict);
+void psiginfo(const siginfo_t *, const char *);
#ifndef __LIBC12_SOURCE__
struct timespec;
@@ -197,7 +198,7 @@
#ifndef __PSIGNAL_DECLARED
#define __PSIGNAL_DECLARED
/* also in unistd.h */
-void psignal(unsigned int, const char *);
+void psignal(int, const char *);
#endif /* __PSIGNAL_DECLARED */
int sigblock(int);
int sigsetmask(int);
Index: src/include/unistd.h
diff -u src/include/unistd.h:1.123 src/include/unistd.h:1.124
--- src/include/unistd.h:1.123 Sat Apr 17 13:51:47 2010
+++ src/include/unistd.h Fri Aug 27 04:40:38 2010
@@ -1,4 +1,4 @@
-/* $NetBSD: unistd.h,v 1.123 2010/04/17 17:51:47 christos Exp $ */
+/* $NetBSD: unistd.h,v 1.124 2010/08/27 08:40:38 christos Exp $ */
/*-
* Copyright (c) 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -310,7 +310,7 @@
#ifndef __PSIGNAL_DECLARED
#define __PSIGNAL_DECLARED
/* also in signal.h */
-void psignal(unsigned int, const char *);
+void psignal(int, const char *);
#endif /* __PSIGNAL_DECLARED */
int rcmd(char **, int, const char *, const char *, const char *, int *);
int reboot(int, char *);