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
This commit is contained in:
Brian Feldman 1999-12-08 02:44:46 +00:00
parent bfe31f4f2a
commit dd92370286

View file

@ -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));
}
/*