Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/include Add SIGTRAMP_VALID().



details:   https://anonhg.NetBSD.org/src/rev/56abd57827bd
branches:  trunk
changeset: 553562:56abd57827bd
user:      briggs <briggs%NetBSD.org@localhost>
date:      Sat Oct 18 18:34:09 2003 +0000

description:
Add SIGTRAMP_VALID().

diffstat:

 sys/arch/amd64/include/signal.h |  8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a2f9aad2ae3c -r 56abd57827bd sys/arch/amd64/include/signal.h
--- a/sys/arch/amd64/include/signal.h   Sat Oct 18 18:33:51 2003 +0000
+++ b/sys/arch/amd64/include/signal.h   Sat Oct 18 18:34:09 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: signal.h,v 1.3 2003/08/07 16:26:36 agc Exp $   */
+/*     $NetBSD: signal.h,v 1.4 2003/10/18 18:34:09 briggs Exp $        */
 
 /*
  * Copyright (c) 1982, 1986, 1989, 1991 Regents of the University of California.
@@ -82,5 +82,11 @@
        }                                                               \
 } while (/*CONSTCOND*/0)
 
+#ifdef COMPAT_16
+#define SIGTRAMP_VALID(vers)   ((unsigned)(vers) <= 2)
+#else
+#define SIGTRAMP_VALID(vers)   ((vers) == 2)
+#endif
+
 #endif /* _NETBSD_SOURCE */
 #endif /* !_AMD64_SIGNAL_H_ */



Home | Main Index | Thread Index | Old Index