summaryrefslogtreecommitdiff
path: root/src/user/app/ethdump/util.h
diff options
context:
space:
mode:
authordzwdz2022-08-20 11:11:57 +0200
committerdzwdz2022-08-20 11:11:57 +0200
commitf22f019aeba00ccb3cc35fe763c3e87bf5690040 (patch)
tree6f7338b526dca6eebc865096dbdbd3af90cda335 /src/user/app/ethdump/util.h
parent2a16c1f6f9118e7127d532421ae19b959b3f1d87 (diff)
user/ethdump: turn into a file server
Diffstat (limited to 'src/user/app/ethdump/util.h')
-rw-r--r--src/user/app/ethdump/util.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/user/app/ethdump/util.h b/src/user/app/ethdump/util.h
index ca7e99b..6f58b82 100644
--- a/src/user/app/ethdump/util.h
+++ b/src/user/app/ethdump/util.h
@@ -4,14 +4,9 @@
#define eprintf(fmt, ...) fprintf(stderr, "ethdump: "fmt"\n" __VA_OPT__(,) __VA_ARGS__)
-// #define printf(...)
-
-void hexdump(const void *vbuf, size_t len);
-
uint32_t crc32(const uint8_t *buf, size_t len);
uint16_t ip_checksum(const uint8_t *buf, size_t len);
-
static inline void nput16(void *vbuf, uint16_t n) {
uint8_t *b = vbuf;
b[0] = n >> 8;