From a22560c3ccaf19261b5c40fdcab36d2d22426986 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Sat, 7 Jun 2014 16:58:20 -0400 Subject: Use // comments when possible. --- libdimension/inline.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'libdimension/inline.c') diff --git a/libdimension/inline.c b/libdimension/inline.c index 6b8b29d..ae175e0 100644 --- a/libdimension/inline.c +++ b/libdimension/inline.c @@ -23,20 +23,20 @@ * Emit definitions of inline functions, if necessary. */ -/* Set DMNSN_INLINE to produce definitions of inline functions, emitted here, - if needed */ +// Set DMNSN_INLINE to produce definitions of inline functions, emitted here, +// if needed #ifdef __cplusplus - /* C++ inline semantics */ + // C++ inline semantics #define DMNSN_INLINE inline #elif __STDC_VERSION__ >= 199901L - /* C99 inline semantics */ + // C99 inline semantics #define DMNSN_INLINE #elif defined(__GNUC__) - /* GCC inline semantics */ + // GCC inline semantics #define DMNSN_INLINE __inline__ #else - /* Unknown C - mark functions static and hope the compiler is smart enough - to inline them */ + // Unknown C - mark functions static and hope the compiler is smart enough to + // inline them #define DMNSN_INLINE static #endif -- cgit v1.2.3