Revision: 125 http://trac.macosforge.org/projects/libdispatch/changeset/125 Author: robert@fledge.watson.org Date: 2009-11-04 03:32:27 -0800 (Wed, 04 Nov 2009) Log Message: ----------- Remove ';'s from the end of macros to avoid std99 -pedantic complaints. Modified Paths: -------------- trunk/dispatch/base.h Modified: trunk/dispatch/base.h =================================================================== --- trunk/dispatch/base.h 2009-11-04 11:30:52 UTC (rev 124) +++ trunk/dispatch/base.h 2009-11-04 11:32:27 UTC (rev 125) @@ -53,10 +53,10 @@ typedef void (*dispatch_function_t)(void *); #ifdef __cplusplus -#define DISPATCH_DECL(name) typedef struct name##_s : public dispatch_object_s {} *name##_t; +#define DISPATCH_DECL(name) typedef struct name##_s : public dispatch_object_s {} *name##_t #else /*! @parseOnly */ -#define DISPATCH_DECL(name) typedef struct name##_s *name##_t; +#define DISPATCH_DECL(name) typedef struct name##_s *name##_t #endif #ifdef __GNUC__
participants (1)
-
source_changes@macosforge.org