@@ -117,14 +117,6 @@ int netbios_ns_resolve(netbios_ns *ns, const char *name,
*/
const char *netbios_ns_inverse(netbios_ns *ns, uint32_t ip);
-/**
- * @brief abort any pending netbios_ns_* operations
- *
- * @param ns The name service object.
- */
-void netbios_ns_abort(netbios_ns *ns);
-
typedef struct
{
// Opaque pointer that will be passed to callbacks
@@ -621,7 +621,7 @@ static int netbios_ns_is_aborted(netbios_ns *ns)
return (res < 0 || FD_ISSET(ns->abort_pipe[0], &read_fds)) ? 1 : 0;
}
-void netbios_ns_abort(netbios_ns *ns)
+static void netbios_ns_abort(netbios_ns *ns)
uint8_t buf = '\0';
write(ns->abort_pipe[1], &buf, sizeof(uint8_t));