[vox-tech] what is GCC_UNUSED?

Peter Jay Salzman vox-tech@lists.lugod.org
Sat, 1 Feb 2003 14:43:58 -0800


what is GCC_USED?  i see it in function definitions:


int displayCallback (
   EObjectType cdktype GCC_UNUSED,
   void *object,
   void *clientData,
   chtype input GCC_UNUSED
)


i've googled for it, and found it in source code for lynx, xterm, cdk,
and ncurses, but can't find its purpose.

it doesn't prevent compiler warnings for unused function parameters
(which would've been my first guess).

looked in info/man for gcc, ncurses, cpp, libc.  no luck.   anyone know?

pete


-- 
First they ignore you, then they laugh at you, then they fight you,
then you win. -- Gandhi, being prophetic about Linux.

Fingerprint: B9F1 6CF3 47C4 7CD8 D33E 70A9 A3B9 1945 67EA 951D