summaryrefslogtreecommitdiff
path: root/src/install.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/install.c')
-rw-r--r--src/install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/install.c b/src/install.c
index ddc912427..eb8059dae 100644
--- a/src/install.c
+++ b/src/install.c
@@ -114,7 +114,7 @@ gid_t getgid ();
* BITSPERBYTE - 1)))))
#endif
-char *basename ();
+char *base_name ();
char *stpcpy ();
char *xmalloc ();
int safe_read ();
@@ -338,7 +338,7 @@ install_file_in_dir (char *from, char *to_dir)
char *to;
int ret;
- from_base = basename (from);
+ from_base = base_name (from);
to = xmalloc ((unsigned) (strlen (to_dir) + strlen (from_base) + 2));
stpcpy (stpcpy (stpcpy (to, to_dir), "/"), from_base);
ret = install_file_in_file (from, to);