Hi,
I find in some application, the programmer define a function like below,
why they put the type of parameter after the parameter list.
static char *
reg(cp, paren, flagp)
register struct comp *cp;
int paren; /* Parenthesized? */
int *flagp;
{
..
..
This is the old style function definition in C language
-Original Message-
From: eirc@gmail.com [mailto:eirc@gmail.com]
Sent: Tuesday, November 08, 2011 4:01 AM
To: open64-devel@lists.sourceforge.net
Subject: [Open64-devel] do someone know why declare like below
Hi,
I find in
We just finished the triaging about the performance fluctuations. We
found the big fluctuation on libquantum was caused by the '-mso'
option. After we corrected the options, the new performance data looks
good. There is no more issues in other benchmarks.
2011/11/7 Jian-Xin Lai :
> Hi Michael,
>
>
Yes, that's the old "K&R" style C function definition. ANSI standard uses the
newer and IMO cleaner style, and is now used by everyone (almost!).
The compiler should generate idential code no matter you write in K&R style or
ANSI style.
Rayson
=
Grid Engine / Op