Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/netbsd32 in siginfo conversion functions, declare...
details: https://anonhg.NetBSD.org/src/rev/6552fcefda3b
branches: trunk
changeset: 581528:6552fcefda3b
user: drochner <drochner%NetBSD.org@localhost>
date: Thu Jun 02 10:27:43 2005 +0000
description:
in siginfo conversion functions, declare the source operand as "const"
diffstat:
sys/compat/netbsd32/netbsd32.h | 6 +++---
sys/compat/netbsd32/netbsd32_signal.c | 8 ++++----
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (56 lines):
diff -r 1bce9c0737de -r 6552fcefda3b sys/compat/netbsd32/netbsd32.h
--- a/sys/compat/netbsd32/netbsd32.h Thu Jun 02 10:25:22 2005 +0000
+++ b/sys/compat/netbsd32/netbsd32.h Thu Jun 02 10:27:43 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32.h,v 1.31 2005/03/26 05:12:35 fvdl Exp $ */
+/* $NetBSD: netbsd32.h,v 1.32 2005/06/02 10:27:43 drochner Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -556,8 +556,8 @@
struct netbsd32_timeval time;
} Firm_event32;
-void netbsd32_si_to_si32(siginfo32_t *, siginfo_t *);
-void netbsd32_si32_to_si(siginfo_t *, siginfo32_t *);
+void netbsd32_si_to_si32(siginfo32_t *, const siginfo_t *);
+void netbsd32_si32_to_si(siginfo_t *, const siginfo32_t *);
/*
* here are some macros to convert between netbsd32 and sparc64 types.
diff -r 1bce9c0737de -r 6552fcefda3b sys/compat/netbsd32/netbsd32_signal.c
--- a/sys/compat/netbsd32/netbsd32_signal.c Thu Jun 02 10:25:22 2005 +0000
+++ b/sys/compat/netbsd32/netbsd32_signal.c Thu Jun 02 10:27:43 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: netbsd32_signal.c,v 1.8 2005/02/26 23:10:21 perry Exp $ */
+/* $NetBSD: netbsd32_signal.c,v 1.9 2005/06/02 10:27:43 drochner Exp $ */
/*
* Copyright (c) 1998, 2001 Matthew R. Green
@@ -29,7 +29,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: netbsd32_signal.c,v 1.8 2005/02/26 23:10:21 perry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: netbsd32_signal.c,v 1.9 2005/06/02 10:27:43 drochner Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -218,7 +218,7 @@
}
void
-netbsd32_si32_to_si(siginfo_t *si, siginfo32_t *si32)
+netbsd32_si32_to_si(siginfo_t *si, const siginfo32_t *si32)
{
memset(si, 0, sizeof (*si));
si->si_signo = si32->si_signo;
@@ -259,7 +259,7 @@
}
void
-netbsd32_si_to_si32(siginfo32_t *si32, siginfo_t *si)
+netbsd32_si_to_si32(siginfo32_t *si32, const siginfo_t *si)
{
memset(si32, 0, sizeof (*si32));
si32->si_signo = si->si_signo;
Home |
Main Index |
Thread Index |
Old Index