From 537b7695c26b9ad83ccc13b68c78a2fb27545d7e Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Tue, 24 Jun 2014 16:21:58 -0400 Subject: Fix some warnings found by clang. --- libdimension/tests/tests.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libdimension/tests') diff --git a/libdimension/tests/tests.h b/libdimension/tests/tests.h index afa7c11..2ce2f01 100644 --- a/libdimension/tests/tests.h +++ b/libdimension/tests/tests.h @@ -1,5 +1,5 @@ /************************************************************************* - * Copyright (C) 2009-2012 Tavian Barnes * + * Copyright (C) 2009-2014 Tavian Barnes * * * * This file is part of The Dimension Test Suite. * * * @@ -23,7 +23,7 @@ #include "dimension.h" #include -#ifdef __cplusplus +#if DMNSN_CXX // We've been included from a C++ file; mark everything here as extern "C" extern "C" { #endif @@ -122,7 +122,7 @@ void dmnsn_delete_display(dmnsn_display *display); // Flush the GL buffers void dmnsn_display_flush(dmnsn_display *display); -#ifdef __cplusplus +#if DMNSN_CXX } #endif -- cgit v1.2.3