diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:15:44 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2015-09-20 20:15:44 +0000 |
commit | 1737b90d795e125dbcc28ae33d27ed4fe8c5e33d (patch) | |
tree | e847573f86f5cc880f14b1ec59620629dd0d51e1 | |
parent | 57be559e4abf337edf211ba16a09c41aa227d270 (diff) | |
download | FreeBSD-src-1737b90d795e125dbcc28ae33d27ed4fe8c5e33d.zip FreeBSD-src-1737b90d795e125dbcc28ae33d27ed4fe8c5e33d.tar.gz |
Remove names from prototypes
-rw-r--r-- | lib/libc/stdlib/atexit.c | 4 | ||||
-rw-r--r-- | lib/libc/stdlib/heapsort.c | 6 | ||||
-rw-r--r-- | lib/libc/stdlib/merge.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/lib/libc/stdlib/atexit.c b/lib/libc/stdlib/atexit.c index 7e6b867..eda5703 100644 --- a/lib/libc/stdlib/atexit.c +++ b/lib/libc/stdlib/atexit.c @@ -82,8 +82,8 @@ struct atexit { static struct atexit *__atexit; /* points to head of LIFO stack */ typedef DECLARE_BLOCK(void, atexit_block, void); -int atexit_b(atexit_block func); -int __cxa_atexit(void (*func)(void *), void *arg, void *dso); +int atexit_b(atexit_block); +int __cxa_atexit(void (*)(void *), void *, void *); /* * Register the function described by 'fptr' to be called at application diff --git a/lib/libc/stdlib/heapsort.c b/lib/libc/stdlib/heapsort.c index 3f4a894..a7a4a26 100644 --- a/lib/libc/stdlib/heapsort.c +++ b/lib/libc/stdlib/heapsort.c @@ -139,10 +139,10 @@ typedef DECLARE_BLOCK(int, heapsort_block, const void *, const void *); } #ifdef I_AM_HEAPSORT_B -int heapsort_b(void *vbase, size_t nmemb, size_t size, heapsort_block compar); +int heapsort_b(void *, size_t, size_t, heapsort_block); #else -int heapsort(void *vbase, size_t nmemb, size_t size, - int (*compar)(const void *, const void *)); +int heapsort(void *, size_t, size_t, + int (*)(const void *, const void *)); #endif /* * Heapsort -- Knuth, Vol. 3, page 145. Runs in O (N lg N), both average diff --git a/lib/libc/stdlib/merge.c b/lib/libc/stdlib/merge.c index 805e995..55b3a0c 100644 --- a/lib/libc/stdlib/merge.c +++ b/lib/libc/stdlib/merge.c @@ -100,9 +100,9 @@ static void insertionsort(u_char *, size_t, size_t, cmp_t); (((u_char *)p + PSIZE - 1 - (u_char *) 0) & ~(PSIZE - 1))) #ifdef I_AM_MERGESORT_B -int mergesort_b(void *base, size_t nmemb, size_t size, cmp_t cmp); +int mergesort_b(void *, size_t, size_t, cmp_t); #else -int mergesort(void *base, size_t nmemb, size_t size, cmp_t cmp); +int mergesort(void *, size_t, size_t, cmp_t); #endif /* |