aboutsummaryrefslogtreecommitdiff
path: root/libiberty/make-relative-prefix.c
diff options
context:
space:
mode:
authorThomas Neumann <tneumann@users.sourceforge.net>2007-04-11 15:02:45 -0400
committerDJ Delorie <dj@gcc.gnu.org>2007-04-11 15:02:45 -0400
commit017133fdc11f47bbaff2932171c6818baf27df56 (patch)
tree57be2513d89310fb6e122b263c8cfe15d5a6acf1 /libiberty/make-relative-prefix.c
parent1baf2906ef9aa2870b7162b51f9e5b15c7251031 (diff)
downloadgcc-017133fdc11f47bbaff2932171c6818baf27df56.zip
gcc-017133fdc11f47bbaff2932171c6818baf27df56.tar.gz
gcc-017133fdc11f47bbaff2932171c6818baf27df56.tar.bz2
argv.c: Use ANSI C declarations.
* argv.c: Use ANSI C declarations. * make-relative-prefix.c: Likewise. From-SVN: r123722
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);
}