From 0fec83ebc89bd6b86f772d942b7c39b13f773d3a Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 12 Jun 2014 13:45:06 -0400 Subject: Add a C89 compliance test for the headers. Technically we still require a couple things from C99 like "bool", but it works with -std=c89 under gcc. --- libdimension/dimension/timer.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libdimension/dimension/timer.h') diff --git a/libdimension/dimension/timer.h b/libdimension/dimension/timer.h index be1f3c0..55d66ff 100644 --- a/libdimension/dimension/timer.h +++ b/libdimension/dimension/timer.h @@ -23,14 +23,14 @@ * A platform-agnostic timer abstraction. */ -/// A platform-agnotic timer. +/** A platform-agnotic timer. */ typedef struct dmnsn_timer { - double real; ///< Wall-clock time. - double user; ///< Time spent executing. - double system; ///< Time spent waiting for the system. + double real; /**< Wall-clock time. */ + double user; /**< Time spent executing. */ + double system; /**< Time spent waiting for the system. */ } dmnsn_timer; -/// A standard format string for timers. +/** A standard format string for timers. */ #define DMNSN_TIMER_FORMAT "%.2fs (user: %.2fs; system: %.2fs)" /** * The appropriate arguments to printf() a timer. For example: -- cgit v1.2.3