Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include The signal number argument in psignal is int not uns...
details: https://anonhg.NetBSD.org/src/rev/f2f309cbc58a
branches: trunk
changeset: 757378:f2f309cbc58a
user: christos <christos%NetBSD.org@localhost>
date: Fri Aug 27 08:40:38 2010 +0000
description:
The signal number argument in psignal is int not unsigned int.
Add psiginfo.
diffstat:
include/signal.h | 5 +++--
include/unistd.h | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
diffs (44 lines):
diff -r 9cf108140c3f -r f2f309cbc58a include/signal.h
--- a/include/signal.h Fri Aug 27 08:38:41 2010 +0000
+++ b/include/signal.h Fri Aug 27 08:40:38 2010 +0000
@@ -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);
diff -r 9cf108140c3f -r f2f309cbc58a include/unistd.h
--- a/include/unistd.h Fri Aug 27 08:38:41 2010 +0000
+++ b/include/unistd.h Fri Aug 27 08:40:38 2010 +0000
@@ -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 *);
Home |
Main Index |
Thread Index |
Old Index