mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-07-26 10:59:44 +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 /* __rtems__ */
|
||||||
#endif /* _KERNEL */
|
#endif /* _KERNEL */
|
||||||
|
|
||||||
#ifndef __rtems__
|
|
||||||
void
|
void
|
||||||
sbuf_hexdump(struct sbuf *sb, const void *ptr, int length, const char *hdr,
|
sbuf_hexdump(struct sbuf *sb, const void *ptr, int length, const char *hdr,
|
||||||
int flags)
|
int flags)
|
||||||
@ -1238,6 +1237,7 @@ sbuf_hexdump(struct sbuf *sb, const void *ptr, int length, const char *hdr,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __rtems__
|
||||||
#ifdef _KERNEL
|
#ifdef _KERNEL
|
||||||
void
|
void
|
||||||
counted_warning(unsigned *counter, const char *msg)
|
counted_warning(unsigned *counter, const char *msg)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user