summaryrefslogtreecommitdiffstats
path: root/text-utils/parse.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:43 +0100
committerKarel Zak2006-12-07 00:25:43 +0100
commit22853e4a82c6ef7b336527529acb94b14a0b0fd8 (patch)
treeee28e4598c8c449d7e811711d8ce8eb17caecfb6 /text-utils/parse.c
parentImported from util-linux-2.10f tarball. (diff)
downloadkernel-qcow2-util-linux-22853e4a82c6ef7b336527529acb94b14a0b0fd8.tar.gz
kernel-qcow2-util-linux-22853e4a82c6ef7b336527529acb94b14a0b0fd8.tar.xz
kernel-qcow2-util-linux-22853e4a82c6ef7b336527529acb94b14a0b0fd8.zip
Imported from util-linux-2.10m tarball.
Diffstat (limited to 'text-utils/parse.c')
-rw-r--r--text-utils/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-utils/parse.c b/text-utils/parse.c
index 1102e975d..f96a68e81 100644
--- a/text-utils/parse.c
+++ b/text-utils/parse.c
@@ -84,7 +84,7 @@ void add(char *fmt)
static FS **nextfs;
FS *tfs;
FU *tfu, **nextfu;
- char *savep, *emalloc();
+ char *savep;
/* start new linked list of format units */
/* NOSTRICT */
@@ -491,7 +491,7 @@ static void badcnt(char *s)
exit(1);
}
-static void badsfmt()
+static void badsfmt(void)
{
(void)fprintf(stderr,
_("hexdump: %%s requires a precision or a byte count.\n"));