summaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-04-11 15:37:35 +0000
committerJim Meyering <jim@meyering.net>1998-04-11 15:37:35 +0000
commitd618576e0e84e848081face855c7919c7f366381 (patch)
tree2b93954e89a057c4a545c55ba25c569335cb0359 /lib/hash.c
parent51fe35760ecec74b45a734c2fc0c56ab1cd1eb73 (diff)
downloadcoreutils-d618576e0e84e848081face855c7919c7f366381.tar.xz
split a couple long lines
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 200d3c02b..5c61b54df 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -264,7 +264,8 @@ hash_get_next (const Hash_table *table, const void *entry)
pointers. */
unsigned int
-hash_get_entries (const Hash_table *table, void **buffer, unsigned int buffer_size)
+hash_get_entries (const Hash_table *table, void **buffer,
+ unsigned int buffer_size)
{
unsigned int counter = 0;
struct hash_entry *bucket;
@@ -409,10 +410,11 @@ next_prime (candidate)
}
/* Allocate and return a new hash table, or NULL if an error is met. The
- initial number of buckets would be at least CANDIDATE (which need not be prime).
+ initial number of buckets would be at least CANDIDATE (which need not be
+ prime).
- If DATA_FREER is not NULL, this function may be later called with the data as
- an argument, just before they entry containing the data gets freed. The
+ If DATA_FREER is not NULL, this function may be later called with the data
+ as an argument, just before they entry containing the data gets freed. The
HASHER function should be supplied, and FIXME. The COMPARATOR function
should also be supplied, and FIXME. */