diff options
author | Ondrej Oprala | 2013-11-08 17:13:12 +0100 |
---|---|---|
committer | Karel Zak | 2013-12-02 13:44:23 +0100 |
commit | bb8ae572ef37a248c3f1b134182152446241400b (patch) | |
tree | f23177194b62e79f7e5b06ff0f53d20cad7a3e2f /text-utils/hexdump.c | |
parent | hexdump: rename struct _fu to struct hexdump_fu and remove its typedef (diff) | |
download | kernel-qcow2-util-linux-bb8ae572ef37a248c3f1b134182152446241400b.tar.gz kernel-qcow2-util-linux-bb8ae572ef37a248c3f1b134182152446241400b.tar.xz kernel-qcow2-util-linux-bb8ae572ef37a248c3f1b134182152446241400b.zip |
hexdump: rename struct _fs to struct hexdump_fs and remove its typedef
Signed-off-by: Ondrej Oprala <ooprala@redhat.com>
Diffstat (limited to 'text-utils/hexdump.c')
-rw-r--r-- | text-utils/hexdump.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/text-utils/hexdump.c b/text-utils/hexdump.c index cd4bfd4a2..e216f72bf 100644 --- a/text-utils/hexdump.c +++ b/text-utils/hexdump.c @@ -170,7 +170,7 @@ void __attribute__((__noreturn__)) usage(FILE *out) int main(int argc, char **argv) { struct list_head *p; - FS *tfs; + struct hexdump_fs *tfs; char *c; INIT_LIST_HEAD(&fshead); @@ -188,14 +188,14 @@ int main(int argc, char **argv) /* figure out the data block size */ blocksize = 0; list_for_each(p, &fshead) { - tfs = list_entry(p, FS, fslist); + tfs = list_entry(p, struct hexdump_fs, fslist); if ((tfs->bcnt = block_size(tfs)) > blocksize) blocksize = tfs->bcnt; } /* rewrite the rules, do syntax checking */ list_for_each(p, &fshead) - rewrite_rules(list_entry(p, FS, fslist)); + rewrite_rules(list_entry(p, struct hexdump_fs, fslist)); next(argv); display(); @@ -206,11 +206,11 @@ int main(int argc, char **argv) void hex_free(void) { struct list_head *p, *pn, *q, *qn, *r, *rn; - FS *fs; + struct hexdump_fs *fs; struct hexdump_fu *fu; struct hexdump_pr *pr; list_for_each_safe(p, pn, &fshead) { - fs = list_entry(p, FS, fslist); + fs = list_entry(p, struct hexdump_fs, fslist); list_for_each_safe(q, qn, &fs->fulist) { fu = list_entry(q, struct hexdump_fu, fulist); list_for_each_safe(r, rn, &fu->prlist) { |