Whitespace cleanup core divecomputer handling

Not entirely script based because of two odd issues where the script creates
bogus indentation.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-07-25 18:43:55 -07:00 committed by Lubomir I. Ivanov
parent 0e6c3db24c
commit c7f0e65b12
2 changed files with 19 additions and 20 deletions

View file

@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-2.0
#include "divecomputer.h"
#include "dive.h"
#include "subsurface-string.h"
#include "subsurface-qt/SettingsObjectWrapper.h"
#include "subsurface-string.h"
DiveComputerList dcList;
@ -89,8 +89,7 @@ static bool compareDCById(const DiveComputerNode &a, const DiveComputerNode &b)
return a.deviceId < b.deviceId;
}
extern "C" void call_for_each_dc (void *f, void (*callback)(void *, const char *, uint32_t,
const char *, const char *, const char *),
extern "C" void call_for_each_dc (void *f, void (*callback)(void *, const char *, uint32_t, const char *, const char *, const char *),
bool select_only)
{
QVector<DiveComputerNode> values = dcList.dcs;