Module Name: src
Committed By: joerg
Date: Tue Sep 20 08:42:29 UTC 2011
Modified Files:
src/lib/libc/arch/alpha/gen: makecontext.c
src/lib/libc/arch/hppa/gen: makecontext.c
src/lib/libc/arch/mips/gen: makecontext.c
Log Message:
Explicitly add back __resumecontext wrapper
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/arch/alpha/gen/makecontext.c
cvs rdiff -u -r1.4 -r1.5 src/lib/libc/arch/hppa/gen/makecontext.c
cvs rdiff -u -r1.6 -r1.7 src/lib/libc/arch/mips/gen/makecontext.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/alpha/gen/makecontext.c
diff -u src/lib/libc/arch/alpha/gen/makecontext.c:1.5 src/lib/libc/arch/alpha/gen/makecontext.c:1.6
--- src/lib/libc/arch/alpha/gen/makecontext.c:1.5 Mon Sep 19 21:24:57 2011
+++ src/lib/libc/arch/alpha/gen/makecontext.c Tue Sep 20 08:42:29 2011
@@ -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, ...)
{
Index: src/lib/libc/arch/hppa/gen/makecontext.c
diff -u src/lib/libc/arch/hppa/gen/makecontext.c:1.4 src/lib/libc/arch/hppa/gen/makecontext.c:1.5
--- src/lib/libc/arch/hppa/gen/makecontext.c:1.4 Mon Sep 19 21:24:57 2011
+++ src/lib/libc/arch/hppa/gen/makecontext.c Tue Sep 20 08:42:29 2011
@@ -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, ...)
{
Index: src/lib/libc/arch/mips/gen/makecontext.c
diff -u src/lib/libc/arch/mips/gen/makecontext.c:1.6 src/lib/libc/arch/mips/gen/makecontext.c:1.7
--- src/lib/libc/arch/mips/gen/makecontext.c:1.6 Mon Sep 19 21:24:57 2011
+++ src/lib/libc/arch/mips/gen/makecontext.c Tue Sep 20 08:42:29 2011
@@ -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, ...)
{