Mark the test function as inline, so we don't get warnings if it is not
actually used.
This commit is contained in:
parent
152c21a77c
commit
a4fee3e85d
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: isqemu.h,v 1.2 2013/04/12 17:21:04 christos Exp $ */
|
||||
/* $NetBSD: isqemu.h,v 1.3 2013/04/14 12:46:29 martin Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 2013 The NetBSD Foundation, Inc.
|
||||
|
@ -38,7 +38,7 @@
|
|||
#include <errno.h>
|
||||
#include <err.h>
|
||||
|
||||
static bool
|
||||
static __inline bool
|
||||
isQEMU(void) {
|
||||
#if defined(__i386__) || defined(__x86_64__)
|
||||
char name[1024];
|
||||
|
|
Loading…
Reference in New Issue