From 4298f895d96ce576cd2778fbc297c2bfd2e2bce0 Mon Sep 17 00:00:00 2001 From: reinoud Date: Thu, 19 Nov 2015 20:34:47 +0000 Subject: Fix ANSI-C prototype error --- include/ucontext.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/ucontext.h b/include/ucontext.h index e5654e50610..f248b2f484d 100644 --- a/include/ucontext.h +++ b/include/ucontext.h @@ -1,4 +1,4 @@ -/* $NetBSD: ucontext.h,v 1.7 2011/11/05 09:27:06 joerg Exp $ */ +/* $NetBSD: ucontext.h,v 1.8 2015/11/19 20:34:47 reinoud Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ __BEGIN_DECLS int getcontext(ucontext_t *) __returns_twice; int setcontext(const ucontext_t *); -void makecontext(ucontext_t *, void (*)(), int, ...); +void makecontext(ucontext_t *, void (*)(void), int, ...); int swapcontext(ucontext_t * __restrict, const ucontext_t * __restrict); __END_DECLS -- cgit