Module Name: src
Committed By: reinoud
Date: Thu Nov 19 20:34:47 UTC 2015
Modified Files:
src/include: ucontext.h
Log Message:
Fix ANSI-C prototype error
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/include/ucontext.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/ucontext.h
diff -u src/include/ucontext.h:1.7 src/include/ucontext.h:1.8
--- src/include/ucontext.h:1.7 Sat Nov 5 09:27:06 2011
+++ src/include/ucontext.h Thu Nov 19 20:34:47 2015
@@ -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