[libdispatch-changes] [125] trunk/dispatch/base.h
source_changes at macosforge.org
source_changes at macosforge.org
Wed Nov 4 03:32:28 PST 2009
Revision: 125
http://trac.macosforge.org/projects/libdispatch/changeset/125
Author: robert at 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__
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/libdispatch-changes/attachments/20091104/59a88d0e/attachment.html>
More information about the libdispatch-changes
mailing list