MFV r365599: import fix for a libexecinfo warning at higher WARNS
v1.17 of this file included a fix that I just submitted upstream to fix a warning about prevent_inline with external linkage not having been previously declared. MFC after: 1 week
This commit is contained in:
commit
3c13467099
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=365600
@ -1,4 +1,4 @@
|
|||||||
/* $NetBSD: t_backtrace.c,v 1.16 2014/11/04 00:20:19 justin Exp $ */
|
/* $NetBSD: t_backtrace.c,v 1.17 2020/09/09 20:04:10 christos Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
* Copyright (c) 2012 The NetBSD Foundation, Inc.
|
||||||
@ -29,7 +29,7 @@
|
|||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*/
|
*/
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__RCSID("$NetBSD: t_backtrace.c,v 1.16 2014/11/04 00:20:19 justin Exp $");
|
__RCSID("$NetBSD: t_backtrace.c,v 1.17 2020/09/09 20:04:10 christos Exp $");
|
||||||
|
|
||||||
#include <atf-c.h>
|
#include <atf-c.h>
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
@ -47,7 +47,7 @@ void myfunc2(size_t ncalls);
|
|||||||
void myfunc1(size_t origcalls, volatile size_t ncalls);
|
void myfunc1(size_t origcalls, volatile size_t ncalls);
|
||||||
void myfunc(size_t ncalls);
|
void myfunc(size_t ncalls);
|
||||||
|
|
||||||
volatile int prevent_inline;
|
static volatile int prevent_inline;
|
||||||
|
|
||||||
void
|
void
|
||||||
myfunc3(size_t ncalls)
|
myfunc3(size_t ncalls)
|
||||||
|
Loading…
Reference in New Issue
Block a user