From 001bc34e1a4d143bce8cd6c9301508c00c92ddaf Mon Sep 17 00:00:00 2001 From: css1dw Date: Fri, 5 Dec 1997 18:03:47 +0000 Subject: [PATCH] one more KANDR bit - the kind_of function! and one more blank line in print --- decs.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/decs.c b/decs.c index ec9c4a5..8e921f9 100644 --- a/decs.c +++ b/decs.c @@ -627,8 +627,13 @@ static void deconskind_fn( d ) decln d; exit(1); } +#ifdef KANDR fprintf( outfile, "kind_of_%s %s_kind( this ) %s this;\n", d->name, d->name, d->name ); +#else + fprintf( outfile, "kind_of_%s %s_kind( %s this )\n", + d->name, d->name, d->name ); +#endif line( "{" ); indent(); @@ -830,7 +835,7 @@ static void print_fns( d ) declnlist d; exit(1); } outdent(); - line( "}\n" ); + line( "}\n\n" ); } } -- GitLab