mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
cleanup: remove typedef in qtserialbluetooth.cpp
This was very odd: A typedef to the same name as the structure was named. Huh? Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
058485e374
commit
37be879e17
1 changed files with 2 additions and 2 deletions
|
@ -31,13 +31,13 @@ static std::string to_str(const T &v)
|
||||||
return v.toString().toStdString();
|
return v.toString().toStdString();
|
||||||
}
|
}
|
||||||
|
|
||||||
typedef struct qt_serial_t {
|
struct qt_serial_t {
|
||||||
/*
|
/*
|
||||||
* RFCOMM socket used for Bluetooth Serial communication.
|
* RFCOMM socket used for Bluetooth Serial communication.
|
||||||
*/
|
*/
|
||||||
QBluetoothSocket *socket;
|
QBluetoothSocket *socket;
|
||||||
long timeout;
|
long timeout;
|
||||||
} qt_serial_t;
|
};
|
||||||
|
|
||||||
static dc_status_t qt_serial_open(qt_serial_t **io, dc_context_t*, const char *devaddr)
|
static dc_status_t qt_serial_open(qt_serial_t **io, dc_context_t*, const char *devaddr)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue