mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-26 03:38:17 +08:00
Provide sbuf_hexdump()
This commit is contained in:
parent
57ba8ad63c
commit
5268338be3
@ -1183,7 +1183,6 @@ hexdump(const void *ptr, int length, const char *hdr, int flags)
|
||||
#endif /* __rtems__ */
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#ifndef __rtems__
|
||||
void
|
||||
sbuf_hexdump(struct sbuf *sb, const void *ptr, int length, const char *hdr,
|
||||
int flags)
|
||||
@ -1238,6 +1237,7 @@ sbuf_hexdump(struct sbuf *sb, const void *ptr, int length, const char *hdr,
|
||||
}
|
||||
}
|
||||
|
||||
#ifndef __rtems__
|
||||
#ifdef _KERNEL
|
||||
void
|
||||
counted_warning(unsigned *counter, const char *msg)
|
||||
|
Loading…
x
Reference in New Issue
Block a user