aboutsummaryrefslogtreecommitdiff
path: root/libiberty/make-relative-prefix.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2007-04-11 20:01:26 +0000
committerDJ Delorie <dj@redhat.com>2007-04-11 20:01:26 +0000
commit8535fe175a8039d33e9d13dd425abbd6d71ed648 (patch)
tree8f790b01a3e19770835d30059f6780193136175b /libiberty/make-relative-prefix.c
parentdb2e3e2ee265962b91dd8c1ce33bda39220d0fb3 (diff)
downloadgdb-8535fe175a8039d33e9d13dd425abbd6d71ed648.zip
gdb-8535fe175a8039d33e9d13dd425abbd6d71ed648.tar.gz
gdb-8535fe175a8039d33e9d13dd425abbd6d71ed648.tar.bz2
merge from gcc
Diffstat (limited to 'libiberty/make-relative-prefix.c')
-rw-r--r--libiberty/make-relative-prefix.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/libiberty/make-relative-prefix.c b/libiberty/make-relative-prefix.c
index 4116ec9..037809e 100644
--- a/libiberty/make-relative-prefix.c
+++ b/libiberty/make-relative-prefix.c
@@ -400,10 +400,8 @@ make_relative_prefix_1 (const char *progname, const char *bin_prefix,
from somwhere else. */
char *
-make_relative_prefix (progname, bin_prefix, prefix)
- const char *progname;
- const char *bin_prefix;
- const char *prefix;
+make_relative_prefix (const char *progname, const char *bin_prefix,
+ const char *prefix)
{
return make_relative_prefix_1 (progname, bin_prefix, prefix, 1);
}
@@ -414,10 +412,9 @@ make_relative_prefix (progname, bin_prefix, prefix)
installation is patched together with soft links. */
char *
-make_relative_prefix_ignore_links (progname, bin_prefix, prefix)
- const char *progname;
- const char *bin_prefix;
- const char *prefix;
+make_relative_prefix_ignore_links (const char *progname,
+ const char *bin_prefix,
+ const char *prefix)
{
return make_relative_prefix_1 (progname, bin_prefix, prefix, 0);
}