More fun and games with gcc, A/UX, and porting MPW code.

Jon W{tte d88-jwa at byse.nada.kth.se
Thu Jun 13 01:38:06 AEST 1991


> djp862 at anu.oz.au ("David J Peterson") writes:

   Take a look at the following if that didn't make sense, its a simple
   program and the output, or errors from gcc.

   void printtest(long, int, short, char, char *);

   void printtest(l, i, s, c, cp)
	   long	l;
	   int	i;
	   short	s;
	   char	c;
	   char	*cp;
   {

The right and correct way is to change the definition to:

void
printtest ( long l , int i , short s , char c , char * cp )
{


Cheerio,

--
						Jon W{tte
						h+ at nada.kth.se
						- Speed !



More information about the Comp.unix.aux mailing list