Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys change fields of struct selinfo from si_ to sel_ so ...
details: https://anonhg.NetBSD.org/src/rev/dfa306de0e15
branches: trunk
changeset: 539814:dfa306de0e15
user: christos <christos%NetBSD.org@localhost>
date: Tue Nov 26 19:08:06 2002 +0000
description:
change fields of struct selinfo from si_ to sel_ so that the don't conflict
with siginfo members.
diffstat:
sys/sys/select.h | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (34 lines):
diff -r de43fcee32b0 -r dfa306de0e15 sys/sys/select.h
--- a/sys/sys/select.h Tue Nov 26 19:07:14 2002 +0000
+++ b/sys/sys/select.h Tue Nov 26 19:08:06 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: select.h,v 1.13 2002/10/23 09:15:00 jdolecek Exp $ */
+/* $NetBSD: select.h,v 1.14 2002/11/26 19:08:06 christos Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -46,9 +46,9 @@
* notified when I/O becomes possible.
*/
struct selinfo {
- pid_t si_pid; /* process to be notified */
- struct klist si_klist; /* knotes attached to this selinfo */
- short si_flags; /* see below */
+ pid_t sel_pid; /* process to be notified */
+ struct klist sel_klist; /* knotes attached to this selinfo */
+ short sel_flags; /* see below */
};
#define SI_COLL 0x0001 /* collision occurred */
@@ -62,9 +62,9 @@
selnotify(struct selinfo *sip, long knhint)
{
- if (sip->si_pid != 0)
+ if (sip->sel_pid != 0)
selwakeup(sip);
- KNOTE(&sip->si_klist, knhint);
+ KNOTE(&sip->sel_klist, knhint);
}
#endif
Home |
Main Index |
Thread Index |
Old Index