Fix final round of gcc warnings relating to unused parameters.

This commit is contained in:
Christopher Faylor 2000-02-24 03:53:22 +00:00
parent 2528588a75
commit 65b9598470
4 changed files with 13 additions and 9 deletions

View File

@ -1,3 +1,7 @@
Wed Feb 23 22:51:27 2000 Christopher Faylor <cgf@cygnus.com>
Fix final round of gcc warnings relating to unused parameters.
Wed Feb 23 21:59:44 2000 Christopher Faylor <cgf@cygnus.com>
* hinfo.cc (hinfo::extend): Clean up debugging output.

View File

@ -1560,7 +1560,8 @@ tzset P((void))
/*ARGSUSED*/
static void
localsub (const time_t * const timep, const long offset,
localsub (const time_t * const timep,
const long offset __attribute__ ((unused)),
struct tm * const tmp)
{
register struct state * sp;

View File

@ -8,8 +8,7 @@ static char *rcsid = "$Id$";
#include <stdio.h>
void
regerror(s)
const char *s;
regerror(const char *s __attribute__ ((unused)))
{
#ifdef ERRAVAIL
error("regexp: %s", s);

View File

@ -573,7 +573,7 @@ __pthread_attr_getstacksize (pthread_attr_t * attr, size_t * size)
};
int
__pthread_attr_destroy (pthread_attr_t * attr)
__pthread_attr_destroy (pthread_attr_t * /*attr*/)
{
return 0;
};
@ -673,23 +673,23 @@ __pthread_getsequence_np (pthread_t * thread)
/* Thread SpecificData */
int
__pthread_key_create (pthread_key_t * key)
__pthread_key_create (pthread_key_t */*key*/)
{
NOT_IMP ("_p_key_create\n");
};
int
__pthread_key_delete (pthread_key_t * key)
__pthread_key_delete (pthread_key_t */*key*/)
{
NOT_IMP ("_p_key_delete\n");
};
int
__pthread_setspecific (pthread_key_t * key, const void *value)
__pthread_setspecific (pthread_key_t */*key*/, const void */*value*/)
{
NOT_IMP ("_p_key_setsp\n");
};
void *
__pthread_getspecific (pthread_key_t * key)
__pthread_getspecific (pthread_key_t */*key*/)
{
NOT_IMP ("_p_key_getsp\n");
};
@ -754,7 +754,7 @@ __pthread_equal (pthread_t * t1, pthread_t * t2)
/* Mutexes */
int
__pthread_mutex_init (pthread_mutex_t * mutex, const pthread_mutexattr_t * _attr)
__pthread_mutex_init (pthread_mutex_t * mutex, const pthread_mutexattr_t */*_attr*/)
{
SetResourceLock (LOCK_MUTEX_LIST, WRITE_LOCK | READ_LOCK, "__pthread_mutex_init");