diff options
Diffstat (limited to 'libiberty/sort.c')
-rw-r--r-- | libiberty/sort.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/libiberty/sort.c b/libiberty/sort.c index 90c97e04e07..a525b81e382 100644 --- a/libiberty/sort.c +++ b/libiberty/sort.c @@ -44,10 +44,7 @@ Boston, MA 02111-1307, USA. */ /* POINTERS and WORK are both arrays of N pointers. When this function returns POINTERS will be sorted in ascending order. */ -void sort_pointers (n, pointers, work) - size_t n; - void **pointers; - void **work; +void sort_pointers (size_t n, void **pointers, void **work) { /* The type of a single digit. This can be any unsigned integral type. When changing this, DIGIT_MAX should be changed as @@ -140,8 +137,7 @@ void sort_pointers (n, pointers, work) #include <stdio.h> -void *xmalloc (n) - size_t n; +void *xmalloc (size_t n) { return malloc (n); } |