diff --git a/lib/arc4random.c b/lib/arc4random.c index 1e4ee849..f85c560a 100644 --- a/lib/arc4random.c +++ b/lib/arc4random.c @@ -60,5 +60,7 @@ void arc4random_stir(void) { } void arc4random_addrandom(unsigned char* dat,size_t datlen) { + (void)dat; + (void)datlen; } diff --git a/libpthread/pthread_rwlock_destroy.c b/libpthread/pthread_rwlock_destroy.c index 597edcea..3c0ee565 100644 --- a/libpthread/pthread_rwlock_destroy.c +++ b/libpthread/pthread_rwlock_destroy.c @@ -1,5 +1,6 @@ #include int pthread_rwlock_destroy(pthread_rwlock_t *rwlock) { + (void)rwlock; return 0; } diff --git a/libpthread/pthread_rwlock_init.c b/libpthread/pthread_rwlock_init.c index a7bd6e1d..5eab8526 100644 --- a/libpthread/pthread_rwlock_init.c +++ b/libpthread/pthread_rwlock_init.c @@ -1,6 +1,7 @@ #include int pthread_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) { + (void)attr; rwlock->n=0; return 0; } diff --git a/librpc/clnt_perror.c b/librpc/clnt_perror.c index 269cf589..80ebbb0e 100644 --- a/librpc/clnt_perror.c +++ b/librpc/clnt_perror.c @@ -150,7 +150,8 @@ char *clnt_sperror __P ((CLIENT *rpch, const char *s)) void clnt_perror __P ((CLIENT *rpch, const char *s)) { -// (void) fprintf(stderr, "%s", clnt_sperror(rpch, s)); + (void)rpch; + (void)s; (void) fprintf(stderr, "(not supported)"); } @@ -264,7 +265,7 @@ char *clnt_spcreateerror __P ((__const char *s)) extern void clnt_pcreateerror __P ((__const char *s)) { -// (void) fprintf(stderr, "%s", clnt_spcreateerror(s)); + (void)s; (void) fprintf(stderr, "(not supported)"); }