aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sgsnemu/sgsnemu.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sgsnemu/sgsnemu.c b/sgsnemu/sgsnemu.c
index 7b7bb4e..50eca63 100644
--- a/sgsnemu/sgsnemu.c
+++ b/sgsnemu/sgsnemu.c
@@ -955,19 +955,6 @@ static int process_options(int argc, char **argv)
}
-static int encaps_printf(struct pdp_t *pdp, void *pack, unsigned len)
-{
- unsigned int i;
- printf("The packet looks like this:\n");
- for (i = 0; i < len; i++) {
- printf("%02x ", (unsigned char)*(char *)(pack + i));
- if (!((i + 1) % 16))
- printf("\n");
- };
- printf("\n");
- return 0;
-}
-
/* read a single value from a /procc file, up to 255 bytes, callee-allocated */
static char *proc_read(const char *path)
{