[5297] in Athena Bugs
saber: /*ARGSUSED*/ and static functions
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Tue Jun 26 22:25:26 1990
Date: Tue, 26 Jun 90 22:25:16 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: bugs@ATHENA.MIT.EDU
Saber does not understand the /*ARGSUSED*/ directive when it
appears before a static function. Load the following file into saber:
/* ARGSUSED */
void foo(a)
{
return;
}
/* ARGSUSED */
static void baz(a)
{
return;
}
It will not complain about 'a' not being used in the function 'foo',
but it *will* complain about it not being used in the function 'baz'.
jik