[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev (more patch) minore cleanup
From: |
dickey |
Subject: |
Re: lynx-dev (more patch) minore cleanup |
Date: |
Wed, 7 Apr 1999 08:45:09 -0400 (EDT) |
> > >From LYMain.c :
> > static int cache_fun ARGS3(
> > Parse_Args_Type*, p GCC_UNUSED,
> > char **, argv GCC_UNUSED,
> > char *, next_arg)
> >
> > What all this GCC_UNUSED staff for?
>
> it's because the functions all have the same number of parameters (unless
> you've rewritten them). if you mix pointers, it won't compile on some
> platforms (gcc is too forgiving to qualify here as an ANSI compiler).
though now (looking closer) it seems that we've rewritten whatever function
JED used that needed the p, argv parameters. I'll verify that anyway when
I integrate the patches.
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey