From a4fee3e85db5615663bacedc653309933e656dc0 Mon Sep 17 00:00:00 2001 From: martin Date: Sun, 14 Apr 2013 12:46:29 +0000 Subject: [PATCH] Mark the test function as inline, so we don't get warnings if it is not actually used. --- tests/lib/libc/gen/isqemu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/lib/libc/gen/isqemu.h b/tests/lib/libc/gen/isqemu.h index 2aa410f07ae2..7d73a227ce79 100644 --- a/tests/lib/libc/gen/isqemu.h +++ b/tests/lib/libc/gen/isqemu.h @@ -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 #include -static bool +static __inline bool isQEMU(void) { #if defined(__i386__) || defined(__x86_64__) char name[1024];