summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorreinoud <reinoud@NetBSD.org>2015-11-19 20:34:47 +0000
committerreinoud <reinoud@NetBSD.org>2015-11-19 20:34:47 +0000
commit4298f895d96ce576cd2778fbc297c2bfd2e2bce0 (patch)
treeea80c4911be8dd5c7de7622aaab7a2ed35318af0 /include
parent063117a5596569761b623c0c60721f6c9c5a10b5 (diff)
Fix ANSI-C prototype error
Diffstat (limited to 'include')
-rw-r--r--include/ucontext.h4
1 files changed, 2 insertions, 2 deletions
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