mark hci_dump_log with __printf__ format attribute

This commit is contained in:
Matthias Ringwald 2015-11-07 17:59:24 +01:00
parent 1a1c838922
commit 65280ee1c8

View File

@ -86,7 +86,11 @@ void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t
/*
* @brief
*/
void hci_dump_log(int log_level, const char * format, ...);
void hci_dump_log(int log_level, const char * format, ...)
#ifdef __GNUC__
__attribute__ ((format (__printf__, 2, 3)));
#endif
;
/*
* @brief