Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc Mark _resumecontext as dead. ANSIfy all declaration...
details: https://anonhg.NetBSD.org/src/rev/6d43e0d7908c
branches: trunk
changeset: 769708:6d43e0d7908c
user: joerg <joerg%NetBSD.org@localhost>
date: Mon Sep 19 21:24:57 2011 +0000
description:
Mark _resumecontext as dead. ANSIfy all declarations for it.
diffstat:
lib/libc/arch/alpha/gen/makecontext.c | 6 ++----
lib/libc/arch/alpha/gen/resumecontext.c | 6 +++---
lib/libc/arch/arm/gen/resumecontext.c | 6 +++---
lib/libc/arch/hppa/gen/makecontext.c | 6 ++----
lib/libc/arch/hppa/gen/resumecontext.c | 6 +++---
lib/libc/arch/mips/gen/makecontext.c | 6 ++----
lib/libc/arch/mips/gen/resumecontext.c | 6 +++---
lib/libc/arch/powerpc/gen/resumecontext.c | 6 +++---
lib/libc/arch/powerpc64/gen/resumecontext.c | 6 +++---
lib/libc/arch/sh3/gen/resumecontext.c | 6 +++---
lib/libc/arch/sparc/gen/resumecontext.c | 6 +++---
lib/libc/arch/sparc64/gen/resumecontext.c | 6 +++---
lib/libc/arch/vax/gen/resumecontext.c | 6 +++---
lib/libc/gen/Lint_resumecontext.c | 4 ++--
lib/libc/include/extern.h | 4 ++--
15 files changed, 40 insertions(+), 46 deletions(-)
diffs (truncated from 386 to 300 lines):
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/alpha/gen/makecontext.c
--- a/lib/libc/arch/alpha/gen/makecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/alpha/gen/makecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makecontext.c,v 1.4 2008/04/28 20:22:55 martin Exp $ */
+/* $NetBSD: makecontext.c,v 1.5 2011/09/19 21:24:57 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 2008/04/28 20:22:55 martin Exp $");
+__RCSID("$NetBSD: makecontext.c,v 1.5 2011/09/19 21:24:57 joerg Exp $");
#endif
#include <stddef.h>
@@ -49,8 +49,6 @@
unsigned long *sp;
va_list ap;
- void __resumecontext(void);
-
/* Compute and align stack pointer. */
sp = (unsigned long *)
(((uintptr_t)ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size) & ~0x7);
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/alpha/gen/resumecontext.c
--- a/lib/libc/arch/alpha/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/alpha/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resumecontext.c,v 1.4 2008/04/28 20:22:55 martin Exp $ */
+/* $NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:57 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: resumecontext.c,v 1.4 2008/04/28 20:22:55 martin Exp $");
+__RCSID("$NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:57 joerg Exp $");
#endif
#include "namespace.h"
@@ -41,7 +41,7 @@
#include "extern.h"
void
-_resumecontext()
+_resumecontext(void)
{
ucontext_t uct;
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/arm/gen/resumecontext.c
--- a/lib/libc/arch/arm/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/arm/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resumecontext.c,v 1.4 2008/04/28 20:22:55 martin Exp $ */
+/* $NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:57 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: resumecontext.c,v 1.4 2008/04/28 20:22:55 martin Exp $");
+__RCSID("$NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:57 joerg Exp $");
#endif
#include "namespace.h"
@@ -41,7 +41,7 @@
#include "extern.h"
void
-_resumecontext()
+_resumecontext(void)
{
ucontext_t uct;
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/hppa/gen/makecontext.c
--- a/lib/libc/arch/hppa/gen/makecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/hppa/gen/makecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makecontext.c,v 1.3 2008/04/28 20:22:56 martin Exp $ */
+/* $NetBSD: makecontext.c,v 1.4 2011/09/19 21:24:57 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.3 2008/04/28 20:22:56 martin Exp $");
+__RCSID("$NetBSD: makecontext.c,v 1.4 2011/09/19 21:24:57 joerg Exp $");
#endif
#include <inttypes.h>
@@ -54,8 +54,6 @@
int i;
va_list ap;
- void __resumecontext(void);
-
/* LINTED uintptr_t is safe */
sp = (uintptr_t *)ucp->uc_stack.ss_sp;
/* LINTED uintptr_t is safe */
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/hppa/gen/resumecontext.c
--- a/lib/libc/arch/hppa/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/hppa/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resumecontext.c,v 1.3 2008/04/28 20:22:56 martin Exp $ */
+/* $NetBSD: resumecontext.c,v 1.4 2011/09/19 21:24:57 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: resumecontext.c,v 1.3 2008/04/28 20:22:56 martin Exp $");
+__RCSID("$NetBSD: resumecontext.c,v 1.4 2011/09/19 21:24:57 joerg Exp $");
#endif
#include "namespace.h"
@@ -41,7 +41,7 @@
#include "extern.h"
void
-_resumecontext()
+_resumecontext(void)
{
ucontext_t uct;
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/mips/gen/makecontext.c
--- a/lib/libc/arch/mips/gen/makecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/mips/gen/makecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: makecontext.c,v 1.5 2009/12/14 01:07:42 matt Exp $ */
+/* $NetBSD: makecontext.c,v 1.6 2011/09/19 21:24:57 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 2009/12/14 01:07:42 matt Exp $");
+__RCSID("$NetBSD: makecontext.c,v 1.6 2011/09/19 21:24:57 joerg Exp $");
#endif
#include <inttypes.h>
@@ -49,8 +49,6 @@
int i;
va_list ap;
- void __resumecontext(void);
-
/* LINTED uintptr_t is safe */
sp = (__greg_t *)
((uintptr_t)ucp->uc_stack.ss_sp + ucp->uc_stack.ss_size);
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/mips/gen/resumecontext.c
--- a/lib/libc/arch/mips/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/mips/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resumecontext.c,v 1.4 2008/04/28 20:22:56 martin Exp $ */
+/* $NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:57 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: resumecontext.c,v 1.4 2008/04/28 20:22:56 martin Exp $");
+__RCSID("$NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:57 joerg Exp $");
#endif
#include "namespace.h"
@@ -41,7 +41,7 @@
#include "extern.h"
void
-_resumecontext()
+_resumecontext(void)
{
ucontext_t uct;
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/powerpc/gen/resumecontext.c
--- a/lib/libc/arch/powerpc/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/powerpc/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resumecontext.c,v 1.4 2008/04/28 20:22:57 martin Exp $ */
+/* $NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:58 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: resumecontext.c,v 1.4 2008/04/28 20:22:57 martin Exp $");
+__RCSID("$NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:58 joerg Exp $");
#endif
#include "namespace.h"
@@ -41,7 +41,7 @@
#include "extern.h"
void
-_resumecontext()
+_resumecontext(void)
{
ucontext_t uct;
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/powerpc64/gen/resumecontext.c
--- a/lib/libc/arch/powerpc64/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/powerpc64/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resumecontext.c,v 1.3 2008/04/28 20:22:57 martin Exp $ */
+/* $NetBSD: resumecontext.c,v 1.4 2011/09/19 21:24:58 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: resumecontext.c,v 1.3 2008/04/28 20:22:57 martin Exp $");
+__RCSID("$NetBSD: resumecontext.c,v 1.4 2011/09/19 21:24:58 joerg Exp $");
#endif
#include "namespace.h"
@@ -41,7 +41,7 @@
#include "extern.h"
void
-_resumecontext()
+_resumecontext(void)
{
ucontext_t uct;
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/sh3/gen/resumecontext.c
--- a/lib/libc/arch/sh3/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/sh3/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resumecontext.c,v 1.4 2008/04/28 20:22:57 martin Exp $ */
+/* $NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:58 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: resumecontext.c,v 1.4 2008/04/28 20:22:57 martin Exp $");
+__RCSID("$NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:58 joerg Exp $");
#endif
#include "namespace.h"
@@ -41,7 +41,7 @@
#include "extern.h"
void
-_resumecontext()
+_resumecontext(void)
{
ucontext_t uct;
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/sparc/gen/resumecontext.c
--- a/lib/libc/arch/sparc/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/sparc/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: resumecontext.c,v 1.4 2008/04/28 20:22:57 martin Exp $ */
+/* $NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:58 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: resumecontext.c,v 1.4 2008/04/28 20:22:57 martin Exp $");
+__RCSID("$NetBSD: resumecontext.c,v 1.5 2011/09/19 21:24:58 joerg Exp $");
#endif
#include "namespace.h"
@@ -41,7 +41,7 @@
#include "extern.h"
void
-_resumecontext()
+_resumecontext(void)
{
ucontext_t uct;
diff -r 482e830fd64f -r 6d43e0d7908c lib/libc/arch/sparc64/gen/resumecontext.c
--- a/lib/libc/arch/sparc64/gen/resumecontext.c Mon Sep 19 19:18:19 2011 +0000
+++ b/lib/libc/arch/sparc64/gen/resumecontext.c Mon Sep 19 21:24:57 2011 +0000
Home |
Main Index |
Thread Index |
Old Index