comparison src/dumpblocks.c @ 52:034641c26ab9

code cleanup
author carl
date Thu, 31 Jan 2008 08:03:30 -0800
parents f66078abed38
children 7d5c637aaafb
comparison
equal deleted inserted replaced
51:06c0262ad689 52:034641c26ab9
8 #define OUT_BUF 20 8 #define OUT_BUF 20
9 int main(int argc, char **argv) { 9 int main(int argc, char **argv) {
10 pst_file pstfile; 10 pst_file pstfile;
11 pst_index_ll *ptr; 11 pst_index_ll *ptr;
12 char *outdir=NULL, *file=NULL, *outname=NULL; 12 char *outdir=NULL, *file=NULL, *outname=NULL;
13 unsigned char *buf=NULL; 13 char *buf=NULL;
14 int c; 14 int c;
15 FILE *fp; 15 FILE *fp;
16 16
17 while ((c=getopt(argc, argv, "o:"))!=-1) { 17 while ((c=getopt(argc, argv, "o:"))!=-1) {
18 switch(c) { 18 switch(c) {