summaryrefslogtreecommitdiffstats
path: root/dcop/dcopglobal.h
diff options
context:
space:
mode:
Diffstat (limited to 'dcop/dcopglobal.h')
-rw-r--r--dcop/dcopglobal.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/dcop/dcopglobal.h b/dcop/dcopglobal.h
index 8e018226d..559037d2f 100644
--- a/dcop/dcopglobal.h
+++ b/dcop/dcopglobal.h
@@ -52,18 +52,13 @@ extern "C" {
#include <KDE-ICE/ICEmsg.h>
#include <KDE-ICE/ICEproto.h>
-#ifdef __cplusplus
-}
-#endif
-
-#ifdef __cplusplus
-extern "C" {
-#endif
extern IcePoAuthStatus _kde_IcePoMagicCookie1Proc (IceConn, void **, int, int, int, void *, int *, void **, char **);
extern IcePaAuthStatus _kde_IcePaMagicCookie1Proc (IceConn, void **, int, int, void *, int *, void **, char **);
+
#ifdef __cplusplus
}
#endif
+
/* these 4 below are static, otherwise build with --disable-shared will fail */
static IcePoAuthProc DCOPClientAuthProcs[] = {_kde_IcePoMagicCookie1Proc};
static IcePaAuthProc DCOPServerAuthProcs[] = {_kde_IcePaMagicCookie1Proc};