Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch Explicitly add back __resumecontext wrapper
details: https://anonhg.NetBSD.org/src/rev/bfefa4a791b8
branches: trunk
changeset: 769721:bfefa4a791b8
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Sep 20 08:42:29 2011 +0000
description:
Explicitly add back __resumecontext wrapper
diffstat:
lib/libc/arch/alpha/gen/makecontext.c | 6 ++++--
lib/libc/arch/hppa/gen/makecontext.c | 6 ++++--
lib/libc/arch/mips/gen/makecontext.c | 6 ++++--
3 files changed, 12 insertions(+), 6 deletions(-)
diffs (81 lines):
diff -r a7e18dd12dda -r bfefa4a791b8 lib/libc/arch/alpha/gen/makecontext.c
--- a/lib/libc/arch/alpha/gen/makecontext.c Tue Sep 20 06:15:02 2011 +0000
+++ b/lib/libc/arch/alpha/gen/makecontext.c Tue Sep 20 08:42:29 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makecontext.c,v 1.5 2011/09/19 21:24:57 joerg Exp $ */
+/* $NetBSD: makecontext.c,v 1.6 2011/09/20 08:42:29 joerg Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: makecontext.c,v 1.5 2011/09/19 21:24:57 joerg Exp $");
+__RCSID("$NetBSD: makecontext.c,v 1.6 2011/09/20 08:42:29 joerg Exp $");
#endif
#include <stddef.h>
@@ -41,6 +41,8 @@
#include <stdarg.h>
+void __resumecontext(void) __dead;
+
void
makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
{
diff -r a7e18dd12dda -r bfefa4a791b8 lib/libc/arch/hppa/gen/makecontext.c
--- a/lib/libc/arch/hppa/gen/makecontext.c Tue Sep 20 06:15:02 2011 +0000
+++ b/lib/libc/arch/hppa/gen/makecontext.c Tue Sep 20 08:42:29 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makecontext.c,v 1.4 2011/09/19 21:24:57 joerg Exp $ */
+/* $NetBSD: makecontext.c,v 1.5 2011/09/20 08:42:29 joerg Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: makecontext.c,v 1.4 2011/09/19 21:24:57 joerg Exp $");
+__RCSID("$NetBSD: makecontext.c,v 1.5 2011/09/20 08:42:29 joerg Exp $");
#endif
#include <inttypes.h>
@@ -44,6 +44,8 @@
#include <sys/types.h>
#include <machine/frame.h>
+void __resumecontext(void) __dead;
+
void
makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
{
diff -r a7e18dd12dda -r bfefa4a791b8 lib/libc/arch/mips/gen/makecontext.c
--- a/lib/libc/arch/mips/gen/makecontext.c Tue Sep 20 06:15:02 2011 +0000
+++ b/lib/libc/arch/mips/gen/makecontext.c Tue Sep 20 08:42:29 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makecontext.c,v 1.6 2011/09/19 21:24:57 joerg Exp $ */
+/* $NetBSD: makecontext.c,v 1.7 2011/09/20 08:42:29 joerg Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: makecontext.c,v 1.6 2011/09/19 21:24:57 joerg Exp $");
+__RCSID("$NetBSD: makecontext.c,v 1.7 2011/09/20 08:42:29 joerg Exp $");
#endif
#include <inttypes.h>
@@ -41,6 +41,8 @@
#include <stdarg.h>
+void __resumecontext(void) __dead;
+
void
makecontext(ucontext_t *ucp, void (*func)(void), int argc, ...)
{
Home |
Main Index |
Thread Index |
Old Index