From 2038e9ecde330cb82eb368725034b21d30de91fc Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Fri, 17 Feb 2012 21:30:06 +0000 Subject: Add output file parameter to dump_hex() and make it extern Signed-off-by: Ben Hutchings --- internal.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal.h') diff --git a/internal.h b/internal.h index 10abe25..b013783 100644 --- a/internal.h +++ b/internal.h @@ -144,6 +144,8 @@ int test_fclose(FILE *fh); int send_ioctl(struct cmd_context *ctx, void *cmd); +void dump_hex(FILE *f, const u8 *data, int len, int offset); + /* National Semiconductor DP83815, DP83816 */ int natsemi_dump_regs(struct ethtool_drvinfo *info, struct ethtool_regs *regs); int natsemi_dump_eeprom(struct ethtool_drvinfo *info, -- cgit v1.2.1