summaryrefslogtreecommitdiffstats
path: root/text-utils/hexdump.h
diff options
context:
space:
mode:
authorOndrej Oprala2013-11-08 17:13:10 +0100
committerKarel Zak2013-12-02 13:44:21 +0100
commit4c73d29c06a858d5cbbe314df570ac03695fae3f (patch)
treec75ed8f65277e43d637faedd77bde5c741b31b24 /text-utils/hexdump.h
parenthexdump: rename rewrite to rewrite_rules (diff)
downloadkernel-qcow2-util-linux-4c73d29c06a858d5cbbe314df570ac03695fae3f.tar.gz
kernel-qcow2-util-linux-4c73d29c06a858d5cbbe314df570ac03695fae3f.tar.xz
kernel-qcow2-util-linux-4c73d29c06a858d5cbbe314df570ac03695fae3f.zip
hexdump: Rename struct _pr to struct hexdump_pr and remove it's 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 6b15df72e..6841cf43c 100644
--- a/text-utils/hexdump.h
+++ b/text-utils/hexdump.h
@@ -35,7 +35,7 @@
#include "c.h"
#include "list.h"
-typedef struct _pr {
+struct hexdump_pr {
struct list_head prlist; /* next print unit */
#define F_ADDRESS 0x001 /* print offset */
#define F_BPAD 0x002 /* blank pad */
@@ -53,7 +53,7 @@ typedef struct _pr {
char *cchar; /* conversion character */
char *fmt; /* printf format */
char *nospace; /* no whitespace version */
-} PR;
+};
typedef struct _fu {
struct list_head fulist; /* next format unit */
@@ -88,7 +88,7 @@ void rewrite_rules(FS *);
void addfile(char *);
void display(void);
void __attribute__((__noreturn__)) usage(FILE *out);
-void conv_c(PR *, u_char *);
-void conv_u(PR *, u_char *);
+void conv_c(struct hexdump_pr *, u_char *);
+void conv_u(struct hexdump_pr *, u_char *);
int next(char **);
int parse_args(int, char **);