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>
This commit is contained in:
Berthold Stoeger 2017-11-26 14:40:20 +01:00 committed by Lubomir I. Ivanov
parent 3649963bc4
commit a7d71ea167

View file

@ -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