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> Wed Feb 23 21:59:44 2000 Christopher Faylor <cgf@cygnus.com>
* hinfo.cc (hinfo::extend): Clean up debugging output. * hinfo.cc (hinfo::extend): Clean up debugging output.

View File

@ -1560,7 +1560,8 @@ tzset P((void))
/*ARGSUSED*/ /*ARGSUSED*/
static void 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) struct tm * const tmp)
{ {
register struct state * sp; register struct state * sp;

View File

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

View File

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