Revert "libs/libc/dumpbuffer: add support to dump the buffer to file descriptor."

This reverts commit 080b380955.
This commit is contained in:
chao.an
2020-12-22 16:25:38 +08:00
parent 66b601e075
commit c9dcce4f30
3 changed files with 6 additions and 74 deletions
-12
View File
@@ -1021,23 +1021,11 @@ extern "C"
void lib_dumpbuffer(FAR const char *msg, FAR const uint8_t *buffer,
unsigned int buflen);
/* Dump a buffer of data to a specified file descriptor. */
void lib_writebuffer(int fd, FAR const char *msg,
FAR const uint8_t *buffer, unsigned int buflen);
/* Do a pretty buffer dump from multiple buffers. */
void lib_dumpvbuffer(FAR const char *msg, FAR const struct iovec *iov,
int iovcnt);
/* Do a pretty buffer dump from multiple buffers
* to a specified file descriptor.
*/
void lib_writevbuffer(int fd, FAR const char *msg,
FAR const struct iovec *iov, int iovcnt);
/* The system logging interfaces are normally accessed via the macros
* provided above. If the cross-compiler's C pre-processor supports a
* variable number of macro arguments, then those macros below will map all