Module Name: src
Committed By: christos
Date: Sun Jan 15 20:10:25 UTC 2017
Modified Files:
src/include: ucontext.h
Log Message:
elide strict-prototypes for unrepresentable function
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 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.9 src/include/ucontext.h:1.10
--- src/include/ucontext.h:1.9 Thu Nov 19 15:57:49 2015
+++ src/include/ucontext.h Sun Jan 15 15:10:25 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: ucontext.h,v 1.9 2015/11/19 20:57:49 reinoud Exp $ */
+/* $NetBSD: ucontext.h,v 1.10 2017/01/15 20:10:25 christos Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -38,7 +38,12 @@
__BEGIN_DECLS
int getcontext(ucontext_t *) __returns_twice;
int setcontext(const ucontext_t *);
+
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wstrict-prototypes"
void makecontext(ucontext_t *, void (*)(), int, ...);
+#pragma GCC diagnostic pop
+
int swapcontext(ucontext_t * __restrict, const ucontext_t * __restrict);
__END_DECLS