Module Name: src Committed By: martin Date: Sun Apr 14 12:46:29 UTC 2013
Modified Files: src/tests/lib/libc/gen: isqemu.h Log Message: Mark the test function as inline, so we don't get warnings if it is not actually used. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/tests/lib/libc/gen/isqemu.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/tests/lib/libc/gen/isqemu.h diff -u src/tests/lib/libc/gen/isqemu.h:1.2 src/tests/lib/libc/gen/isqemu.h:1.3 --- src/tests/lib/libc/gen/isqemu.h:1.2 Fri Apr 12 17:21:04 2013 +++ src/tests/lib/libc/gen/isqemu.h Sun Apr 14 12:46:29 2013 @@ -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];