elide strict-prototypes for unrepresentable function
This commit is contained in:
parent
0c925f5c13
commit
9279f94b7e
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue