summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.h
diff options
context:
space:
mode:
authorOndrej Oprala2013-11-08 17:13:11 +0100
committerKarel Zak2013-12-02 13:44:22 +0100
commit046921da22a865addc7a6adb6abab85a3f230748 (patch)
treef0fc152d49f1e3437eacb1c7d0e7a1e15edd62be /text-utils/hexdump.h
parenthexdump: Rename struct _pr to struct hexdump_pr and remove it's typedef (diff)
downloadkernel-qcow2-util-linux-046921da22a865addc7a6adb6abab85a3f230748.tar.gz
kernel-qcow2-util-linux-046921da22a865addc7a6adb6abab85a3f230748.tar.xz
kernel-qcow2-util-linux-046921da22a865addc7a6adb6abab85a3f230748.zip
hexdump: rename struct _fu to struct hexdump_fu 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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/text-utils/hexdump.h b/text-utils/hexdump.h
index 6841cf43c..b047db1a9 100644
--- a/text-utils/hexdump.h
+++ b/text-utils/hexdump.h
@@ -55,7 +55,7 @@ struct hexdump_pr {
char *nospace; /* no whitespace version */
};
-typedef struct _fu {
+struct hexdump_fu {
struct list_head fulist; /* next format unit */
struct list_head prlist; /* next print unit */
#define F_IGNORE 0x01 /* %_A */
@@ -64,7 +64,7 @@ typedef struct _fu {
int reps; /* repetition count */
int bcnt; /* byte count */
char *fmt; /* format string */
-} FU;
+};
typedef struct _fs { /* format strings */
struct list_head fslist; /* linked list of format strings */
@@ -72,7 +72,7 @@ typedef struct _fs { /* format strings */
int bcnt;
} FS;
-extern FU *endfu;
+extern struct hexdump_fu *endfu;
extern struct list_head fshead; /* head of format strings list */
extern ssize_t blocksize; /* data block size */
extern int exitval; /* final exit value */