Commit 017133fd by Thomas Neumann Committed by DJ Delorie

argv.c: Use ANSI C declarations.

* argv.c: Use ANSI C declarations.
* make-relative-prefix.c: Likewise.

From-SVN: r123722
parent 1baf2906
2007-04-11 Thomas Neumann tneumann@users.sourceforge.net
* argv.c: Use ANSI C declarations.
* make-relative-prefix.c: Likewise.
2007-04-06 Joel Brobecker <brobecker@adacore.com> 2007-04-06 Joel Brobecker <brobecker@adacore.com>
* filename_cmp.c (filename_cmp): Improve documentation. * filename_cmp.c (filename_cmp): Improve documentation.
......
...@@ -312,9 +312,7 @@ operating system to free the memory when the program exits. ...@@ -312,9 +312,7 @@ operating system to free the memory when the program exits.
*/ */
void void
expandargv (argcp, argvp) expandargv (int *argcp, char ***argvp)
int *argcp;
char ***argvp;
{ {
/* The argument we are currently processing. */ /* The argument we are currently processing. */
int i = 0; int i = 0;
......
...@@ -400,10 +400,8 @@ make_relative_prefix_1 (const char *progname, const char *bin_prefix, ...@@ -400,10 +400,8 @@ make_relative_prefix_1 (const char *progname, const char *bin_prefix,
from somwhere else. */ from somwhere else. */
char * char *
make_relative_prefix (progname, bin_prefix, prefix) make_relative_prefix (const char *progname, const char *bin_prefix,
const char *progname; const char *prefix)
const char *bin_prefix;
const char *prefix;
{ {
return make_relative_prefix_1 (progname, bin_prefix, prefix, 1); return make_relative_prefix_1 (progname, bin_prefix, prefix, 1);
} }
...@@ -414,10 +412,9 @@ make_relative_prefix (progname, bin_prefix, prefix) ...@@ -414,10 +412,9 @@ make_relative_prefix (progname, bin_prefix, prefix)
installation is patched together with soft links. */ installation is patched together with soft links. */
char * char *
make_relative_prefix_ignore_links (progname, bin_prefix, prefix) make_relative_prefix_ignore_links (const char *progname,
const char *progname; const char *bin_prefix,
const char *bin_prefix; const char *prefix)
const char *prefix;
{ {
return make_relative_prefix_1 (progname, bin_prefix, prefix, 0); return make_relative_prefix_1 (progname, bin_prefix, prefix, 0);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment