From a7d71ea167c8495613e64f878d1eedde6b547ba4 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 26 Nov 2017 14:40:20 +0100 Subject: Remove redundant declaration of set_userid() set_userid() was declared in core/dive.h and dektop_widgets/subsurfacewebservices.h. Remove the second instance because two declarations of the same function are a recipe for disaster. Signed-off-by: Berthold Stoeger --- desktop-widgets/subsurfacewebservices.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'desktop-widgets/subsurfacewebservices.h') diff --git a/desktop-widgets/subsurfacewebservices.h b/desktop-widgets/subsurfacewebservices.h index 1d4345e7d..455f42ca6 100644 --- a/desktop-widgets/subsurfacewebservices.h +++ b/desktop-widgets/subsurfacewebservices.h @@ -110,12 +110,4 @@ slots: virtual void buttonClicked(QAbstractButton *button) { Q_UNUSED(button) } }; -#ifdef __cplusplus -extern "C" { -#endif -extern void set_userid(char *user_id); -#ifdef __cplusplus -} -#endif - #endif // SUBSURFACEWEBSERVICES_H -- cgit v1.2.3-70-g09d2