diff options
author | Sami Kerola | 2011-02-12 21:55:53 +0100 |
---|---|---|
committer | Karel Zak | 2011-02-21 14:38:23 +0100 |
commit | 85bf44b714ab184907eb448eba389218956d6a51 (patch) | |
tree | be829d3b7f32bcc4583712b923d59998e87da8f8 /text-utils/hexdump.h | |
parent | ipcs: really show all resources when -a and -i are combined (diff) | |
download | kernel-qcow2-util-linux-85bf44b714ab184907eb448eba389218956d6a51.tar.gz kernel-qcow2-util-linux-85bf44b714ab184907eb448eba389218956d6a51.tar.xz kernel-qcow2-util-linux-85bf44b714ab184907eb448eba389218956d6a51.zip |
hexdump: new usage(), xalloc and err.h stuff
New usage help screen and print version switch. Also fixes to
exit codes, util linux xmalloc replaced emalloc and every error
print is using libc error function.
[kzak@redhat.com: - minor changes in formatting and coding style]
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'text-utils/hexdump.h')
-rw-r--r-- | text-utils/hexdump.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/text-utils/hexdump.h b/text-utils/hexdump.h index 165399189..3df8629a3 100644 --- a/text-utils/hexdump.h +++ b/text-utils/hexdump.h @@ -81,14 +81,12 @@ extern off_t skip; /* bytes to skip */ enum _vflag { ALL, DUP, FIRST, WAIT }; /* -v values */ extern enum _vflag vflag; -void *emalloc(int); int size(FS *); void add(const char *); void rewrite(FS *); void addfile(char *); void display(void); -void nomem(void); -void usage(void); +void __attribute__((__noreturn__)) usage(FILE *out); void conv_c(PR *, u_char *); void conv_u(PR *, u_char *); int next(char **); |