C declaration styles
Alan Myrvold
ajmyrvold at violet.waterloo.edu
Tue Mar 15 05:38:10 AEST 1988
I need help porting C programs around.
When I write my C functions on my personal computer, my declarations
are often like this :
void foo(int x, double y)
{
/* Body of function */
}
When I want to run my programs on UNIX, my declarations need to be
like this :
#define void
void foo(x,y)
int x;
double y;
{
/* Body of function */
}
Does anyone have a C program to convert from the one style of
declarations to the other ??
Please EMAIL responses to me at ajmyrvold at violet.waterloo.edu
and I will summarize.
-------------------------------------------------------------------
What? You were in the next room all this time?
I would have just come over to see you!
-------------------------------------------------------------------
Alan Myrvold ajmyrvold at violet.waterloo.edu
-------------------------------------------------------------------
More information about the Comp.lang.c
mailing list