summaryrefslogtreecommitdiffstats
path: root/libiberty/make-relative-prefix.c
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-11 19:02:45 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-11 19:02:45 +0000
commitb7b89a2dea25138798e95420412da3cc797bb13c (patch)
tree57be2513d89310fb6e122b263c8cfe15d5a6acf1 /libiberty/make-relative-prefix.c
parent2a21a5df98c3218eb4e311fdd17f4b9447e3fc10 (diff)
downloadppe42-gcc-b7b89a2dea25138798e95420412da3cc797bb13c.tar.gz
ppe42-gcc-b7b89a2dea25138798e95420412da3cc797bb13c.zip
* argv.c: Use ANSI C declarations.
* make-relative-prefix.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123722 138bc75d-0d04-0410-961f-82ee72b054a4
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 4116ec9963f..037809e34ed 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);
}
OpenPOWER on IntegriCloud