Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen Mark the test function as inline, so we d...
details: https://anonhg.NetBSD.org/src/rev/6c034dd76023
branches: trunk
changeset: 786077:6c034dd76023
user: martin <martin%NetBSD.org@localhost>
date: Sun Apr 14 12:46:29 2013 +0000
description:
Mark the test function as inline, so we don't get warnings if it is not
actually used.
diffstat:
tests/lib/libc/gen/isqemu.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f91100ee5e3f -r 6c034dd76023 tests/lib/libc/gen/isqemu.h
--- a/tests/lib/libc/gen/isqemu.h Sun Apr 14 12:45:50 2013 +0000
+++ b/tests/lib/libc/gen/isqemu.h Sun Apr 14 12:46:29 2013 +0000
@@ -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];
Home |
Main Index |
Thread Index |
Old Index