Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 6865333

Browse files
authored
Update bluetooth.h
1 parent a66f33a commit 6865333

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/libbluetooth/bluetooth.h

+7-1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
#include <errno.h>
4646
#include <netdb.h>
47+
#include <string.h> // Ensure bcmp is available
4748
#include <bitstring.h>
4849

4950
#include <netgraph/ng_message.h>
@@ -224,7 +225,12 @@ bdaddr_copy(bdaddr_t *d, const bdaddr_t *s)
224225
d->b[5] = s->b[5];
225226
}
226227

228+
/*
229+
* Internal utility functions (used by bt_aton and bt_ntoa)
230+
*/
231+
static int bt_hex_byte(char const *str);
232+
static int bt_hex_nibble(char nibble);
233+
227234
__END_DECLS
228235

229236
#endif /* ndef _BLUETOOTH_H_ */
230-

0 commit comments

Comments
 (0)