From 0657049c03daec5ff88043f12d0f6ce6534942bb Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 8 Nov 2010 11:09:57 +0000 Subject: Tidied up hex.c --- hex.c | 65 +++++++++++++++++++++++++++++++++++++++++------------------------ 1 file changed, 41 insertions(+), 24 deletions(-) diff --git a/hex.c b/hex.c index 1323756..39076be 100644 --- a/hex.c +++ b/hex.c @@ -1,29 +1,10 @@ #include #include +#include #include -int main(int argc,char *argv[]) - -{ - void Dump(char *fn,FILE *fp); - FILE *fp; - int f; - - if (argc==1) - Dump("stdin",stdin); - else - for(f=1;f