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
553151b12f
commit
8962aadb23
@ -31,13 +31,13 @@ static std::string to_str(const T &v)
|
||||
return v.toString().toStdString();
|
||||
}
|
||||
|
||||
typedef struct qt_serial_t {
|
||||
struct qt_serial_t {
|
||||
/*
|
||||
* RFCOMM socket used for Bluetooth Serial communication.
|
||||
*/
|
||||
QBluetoothSocket *socket;
|
||||
long timeout;
|
||||
} qt_serial_t;
|
||||
};
|
||||
|
||||
static dc_status_t qt_serial_open(qt_serial_t **io, dc_context_t*, const char *devaddr)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user