summaryrefslogtreecommitdiffstats
path: root/bin/dd
diff options
context:
space:
mode:
authorgreen <green@FreeBSD.org>1999-12-08 02:44:46 +0000
committergreen <green@FreeBSD.org>1999-12-08 02:44:46 +0000
commit9ad09710679f41c5f78e53b1fa6541b8251a0867 (patch)
treef6ab7beebccf704dbd7cac00938eb1037c60bf91 /bin/dd
parent2f07f9d55f73125febd93766fe2b7a120c582a20 (diff)
downloadFreeBSD-src-9ad09710679f41c5f78e53b1fa6541b8251a0867.zip
FreeBSD-src-9ad09710679f41c5f78e53b1fa6541b8251a0867.tar.gz
I've been Brucified! I did evil things with typedefs, but I'll do it
the correct (but less aesthetic) way, now. New lesson: correctness and aestheticity may be mutually exclusive at times. Brucified by: bde
Diffstat (limited to 'bin/dd')
-rw-r--r--bin/dd/args.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/dd/args.c b/bin/dd/args.c
index 19db0ad..418b5cc 100644
--- a/bin/dd/args.c
+++ b/bin/dd/args.c
@@ -173,9 +173,9 @@ static int
c_arg(a, b)
const void *a, *b;
{
- typedef const struct arg *c_arg_p;
- return (strcmp(((c_arg_p)a)->name, ((c_arg_p)b)->name));
+ return (strcmp(((const struct arg *)a)->name,
+ ((const struct arg *)b)->name));
}
static void
@@ -331,9 +331,9 @@ static int
c_conv(a, b)
const void *a, *b;
{
- typedef const struct conv *c_conv_p;
- return (strcmp(((c_conv_p)a)->name, ((c_conv_p)b)->name));
+ return (strcmp(((const struct conv *)a)->name,
+ ((const struct conv *)b)->name));
}
/*
OpenPOWER on IntegriCloud