summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.h
diff options
context:
space:
mode:
authorOndrej Oprala2013-11-08 17:13:12 +0100
committerKarel Zak2013-12-02 13:44:23 +0100
commitbb8ae572ef37a248c3f1b134182152446241400b (patch)
treef23177194b62e79f7e5b06ff0f53d20cad7a3e2f /text-utils/hexdump.h
parenthexdump: rename struct _fu to struct hexdump_fu and remove its typedef (diff)
downloadkernel-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.h')
-rw-r--r--text-utils/hexdump.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/text-utils/hexdump.h b/text-utils/hexdump.h
index b047db1a9..45c553116 100644
--- a/text-utils/hexdump.h
+++ b/text-utils/hexdump.h
@@ -66,11 +66,11 @@ struct hexdump_fu {
char *fmt; /* format string */
};
-typedef struct _fs { /* format strings */
+struct hexdump_fs { /* format strings */
struct list_head fslist; /* linked list of format strings */
struct list_head fulist; /* linked list of format units */
int bcnt;
-} FS;
+};
extern struct hexdump_fu *endfu;
extern struct list_head fshead; /* head of format strings list */
@@ -82,9 +82,9 @@ extern off_t skip; /* bytes to skip */
enum _vflag { ALL, DUP, FIRST, WAIT }; /* -v values */
extern enum _vflag vflag;
-int block_size(FS *);
+int block_size(struct hexdump_fs *);
void add_fmt(const char *);
-void rewrite_rules(FS *);
+void rewrite_rules(struct hexdump_fs *);
void addfile(char *);
void display(void);
void __attribute__((__noreturn__)) usage(FILE *out);