Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/powerpc/include Define SIGTRAMP_VALID properly.
details: https://anonhg.NetBSD.org/src/rev/140666386fd3
branches: trunk
changeset: 552545:140666386fd3
user: matt <matt%NetBSD.org@localhost>
date: Sat Sep 27 00:58:32 2003 +0000
description:
Define SIGTRAMP_VALID properly.
diffstat:
sys/arch/powerpc/include/signal.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r 71ab81af438e -r 140666386fd3 sys/arch/powerpc/include/signal.h
--- a/sys/arch/powerpc/include/signal.h Sat Sep 27 00:57:45 2003 +0000
+++ b/sys/arch/powerpc/include/signal.h Sat Sep 27 00:58:32 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: signal.h,v 1.15 2003/09/26 22:14:19 matt Exp $ */
+/* $NetBSD: signal.h,v 1.16 2003/09/27 00:58:32 matt Exp $ */
/*
* Copyright (C) 1995, 1996 Wolfgang Solfrank.
@@ -65,9 +65,9 @@
void sendsig_sigcontext(int, const sigset_t *, u_long);
#ifdef COMPAT_16
-#define SIGTRAMP_VALID(vers) ((vers) <= 2)
+#define SIGTRAMP_VALID(vers) ((unsigned)(vers) <= 2)
#else
-#define SIGTRAMP_VALID(vers) ((vers) == 0 && (vers) == 2)
+#define SIGTRAMP_VALID(vers) ((vers) == 2)
#endif
#endif /* _KERNEL */
Home |
Main Index |
Thread Index |
Old Index