summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-10-06 16:46:06 +0000
committerJim Meyering <jim@meyering.net>2001-10-06 16:46:06 +0000
commite1b81c9b749f62125577d5fbebd769e149bfcc62 (patch)
treea522013516c21bd52524a78c4979db52035ebb53
parent3dfa4910e2b826dbd7057325179f7c03c2c441cc (diff)
downloadcoreutils-e1b81c9b749f62125577d5fbebd769e149bfcc62.tar.xz
(main): Reflect that hash_init now takes no arguments.
-rw-r--r--src/cp.c2
-rw-r--r--src/install.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/cp.c b/src/cp.c
index faede5472..04121c8be 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -935,7 +935,7 @@ Use `--parents' for the old meaning, and `--no-dereference' for the new one."));
/* Allocate space for remembering copied and created files. */
- hash_init (INITIAL_HASH_MODULE, INITIAL_ENTRY_TAB_SIZE);
+ hash_init ();
exit_status |= do_copy (argc - optind, argv + optind, target_directory, &x);
diff --git a/src/install.c b/src/install.c
index 7bdd1abb2..49b55a036 100644
--- a/src/install.c
+++ b/src/install.c
@@ -316,7 +316,7 @@ main (int argc, char **argv)
{
/* FIXME: it's a little gross that this initialization is
required by copy.c::copy. */
- hash_init (INITIAL_HASH_MODULE, INITIAL_ENTRY_TAB_SIZE);
+ hash_init ();
if (n_files == 2)
{