From 761089c8f28153bdce931638cf61c2b825d07a9d Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Thu, 7 May 2020 13:12:21 -0700 Subject: [PATCH] Remove stale declaration for dc_iostream_get_name() This function no longer exists, it was subsumed by the new DC_IOCTL_BLE_GET_NAME ioctl instead. The declaration for it had just not been removed when the definition went away. Signed-off-by: Linus Torvalds --- include/libdivecomputer/iostream.h | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/include/libdivecomputer/iostream.h b/include/libdivecomputer/iostream.h index 9dedce9..7e60a73 100644 --- a/include/libdivecomputer/iostream.h +++ b/include/libdivecomputer/iostream.h @@ -310,19 +310,6 @@ dc_iostream_sleep (dc_iostream_t *iostream, unsigned int milliseconds); dc_status_t dc_iostream_close (dc_iostream_t *iostream); -/** - * Get the name of the device - * - * @param[in] iostream A valid I/O stream. - * @returns a NUL-terminated constant C string that has a lifetime - * until the close of the iostream, or NUL if no name exists. - * - * The name depends on the iostream transport. For a BLE device, it - * is the name of the device during device discovery. - */ -const char * -dc_iostream_get_name (dc_iostream_t *iostream); - dc_status_t dc_usb_storage_open (dc_iostream_t **out, dc_context_t *context, const char *name);