From c9ac9564176a57a1773d8111be7eebcdbe58ec08 Mon Sep 17 00:00:00 2001 From: Christian Thaeter Date: Sun, 21 Sep 2008 23:52:32 +0200 Subject: [PATCH] cosmetics --- src/lib/interface.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lib/interface.h b/src/lib/interface.h index 836ac934c..75eb2bb10 100644 --- a/src/lib/interface.h +++ b/src/lib/interface.h @@ -267,18 +267,18 @@ LUMIERA_INTERFACE_INSTANCE (iname, version, * @param queryfunc name of the function to be created. * @param ... list of LUMIERA_INTERFACE_DEFINE() for all interfaces this plugin provides. */ -#define LUMIERA_EXPORT(queryfunc, ...) \ -PPMPL_FOREACH_L1(_P1_, __VA_ARGS__) \ -static const LumieraInterface* \ -queryfunc (void) \ -{ \ - static const LumieraInterface interfaces[] = \ - { \ - PPMPL_FOREACH_L1(_P2_, __VA_ARGS__) \ - NULL \ - }; \ - return interfaces; \ -} \ +#define LUMIERA_EXPORT(queryfunc, ...) \ +PPMPL_FOREACH_L1(_P1_, __VA_ARGS__) \ +static LumieraInterface* \ +queryfunc (void) \ +{ \ + static LumieraInterface interfaces[] = \ + { \ + PPMPL_FOREACH_L1(_P2_, __VA_ARGS__) \ + NULL \ + }; \ + return interfaces; \ +} /**