diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2017-11-26 14:40:20 +0100 |
---|---|---|
committer | Lubomir I. Ivanov <neolit123@gmail.com> | 2017-11-26 23:17:23 +0100 |
commit | a7d71ea167c8495613e64f878d1eedde6b547ba4 (patch) | |
tree | eece666ba682c0401066e1756213c9f8ef326997 /desktop-widgets | |
parent | 3649963bc457b527f2c0a9768ba36ee912a8880c (diff) | |
download | subsurface-a7d71ea167c8495613e64f878d1eedde6b547ba4.tar.gz |
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 <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets')
-rw-r--r-- | desktop-widgets/subsurfacewebservices.h | 8 |
1 files changed, 0 insertions, 8 deletions
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 |