mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-18 19:21:26 +00:00
Add __printf annotation to debug_print_with_prefix()
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4188 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -123,8 +123,9 @@
|
||||
#define ___unlikely(a) unlikely(a)
|
||||
#endif
|
||||
|
||||
int debug_print_with_prefix(unsigned long trace_flag, const char *severity,
|
||||
const char *prefix, const char *func, int line, const char *fmt, ...);
|
||||
int __printf(6, 7) debug_print_with_prefix(unsigned long trace_flag,
|
||||
const char *severity, const char *prefix, const char *func, int line,
|
||||
const char *fmt, ...);
|
||||
void debug_print_buffer(const void *data, int len);
|
||||
const char *debug_transport_id_to_initiator_name(const uint8_t *transport_id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user