summaryrefslogtreecommitdiffstats
path: root/text-utils/conv.c
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:34 +0100
committerKarel Zak2006-12-07 00:25:34 +0100
commitfd6b7a7ffc50400704beb41d5a23af5f9edb1eed (patch)
tree997c0ca2abc018369babd7da59bcd0afe492068e /text-utils/conv.c
parentImported from util-linux-2.5 tarball. (diff)
downloadkernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.tar.gz
kernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.tar.xz
kernel-qcow2-util-linux-fd6b7a7ffc50400704beb41d5a23af5f9edb1eed.zip
Imported from util-linux-2.7.1 tarball.
Diffstat (limited to 'text-utils/conv.c')
-rw-r--r--text-utils/conv.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/text-utils/conv.c b/text-utils/conv.c
index c7a37a2b4..e2e9690af 100644
--- a/text-utils/conv.c
+++ b/text-utils/conv.c
@@ -35,13 +35,12 @@
static char sccsid[] = "@(#)conv.c 5.4 (Berkeley) 6/1/90";
#endif /* not lint */
-#include <sys/types.h>
+#include <stdio.h>
#include <ctype.h>
+#include <sys/types.h>
#include "hexdump.h"
-conv_c(pr, p)
- PR *pr;
- u_char *p;
+void conv_c(PR *pr, u_char *p)
{
extern int deprecated;
char buf[10], *str;
@@ -89,9 +88,7 @@ strpr: *pr->cchar = 's';
}
}
-conv_u(pr, p)
- PR *pr;
- u_char *p;
+void conv_u(PR *pr, u_char *p)
{
extern int deprecated;
static char *list[] = {