* libmisc/obscure.c: Tag the `old' parameter of palindrome(),

similar(), and simple() as unused.
* libmisc/loginprompt.c: Tag the `sig' parameter of login_exit()
  as unused.
* src/expiry.c: Tag the `sig' parameter of catch_signals() as
  unused.
* src/su.c: Tag the `sig' parameter of catch_signals() as unused.
* src/su.c: Add int parameter to the prototype of oldsig().
* src/login.c: Tag the `sig' parameter of alarm_handler() as
  unused.
* src/sulogin.c: Tag the `sig' parameter of catch_signals() as
  unused.
* libmisc/getdate.y: Tag the `string' parameter of yyerror() as
  unused.
* libmisc/getdate.y: The string provided to yyerror() is const.
* libmisc/getdate.y: Fix the prototypes of yylex() and yyerror().
This commit is contained in:
nekral-guest
2008-01-06 13:20:25 +00:00
parent 7b22265d4e
commit 1520a0ae3e
8 changed files with 33 additions and 14 deletions

View File

@@ -47,7 +47,7 @@
/*
* can't be a palindrome - like `R A D A R' or `M A D A M'
*/
/*ARGSUSED*/ static int palindrome (const char *old, const char *new)
static int palindrome (unused const char *old, const char *new)
{
int i, j;
@@ -64,7 +64,7 @@
* more than half of the characters are different ones.
*/
/*ARGSUSED*/ static int similar (const char *old, const char *new)
static int similar (const char *old, const char *new)
{
int i, j;
@@ -91,7 +91,7 @@
* a nice mix of characters.
*/
/*ARGSUSED*/ static int simple (const char *old, const char *new)
static int simple (unused const char *old, const char *new)
{
int digits = 0;
int uppers = 0;