Skip to content
This repository was archived by the owner on Sep 5, 2023. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions lib/arc4random.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,5 +60,7 @@ void arc4random_stir(void) {
}

void arc4random_addrandom(unsigned char* dat,size_t datlen) {
(void)dat;
(void)datlen;
}

1 change: 1 addition & 0 deletions libpthread/pthread_rwlock_destroy.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <pthread.h>

int pthread_rwlock_destroy(pthread_rwlock_t *rwlock) {
(void)rwlock;
return 0;
}
1 change: 1 addition & 0 deletions libpthread/pthread_rwlock_init.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include <pthread.h>

int pthread_rwlock_init(pthread_rwlock_t *rwlock, const pthread_rwlockattr_t *attr) {
(void)attr;
rwlock->n=0;
return 0;
}
5 changes: 3 additions & 2 deletions librpc/clnt_perror.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)");
}

Expand Down Expand Up @@ -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)");
}

Expand Down