]> gcc.gnu.org Git - gcc.git/commitdiff
argv.c: Use ANSI C declarations.
authorThomas Neumann <tneumann@users.sourceforge.net>
Wed, 11 Apr 2007 19:02:45 +0000 (15:02 -0400)
committerDJ Delorie <dj@gcc.gnu.org>
Wed, 11 Apr 2007 19:02:45 +0000 (15:02 -0400)
* argv.c: Use ANSI C declarations.
* make-relative-prefix.c: Likewise.

From-SVN: r123722

libiberty/ChangeLog
libiberty/argv.c
libiberty/make-relative-prefix.c

index 62d3929d22b026b2d52a07e155be85900af078bb..9e218b59fb47e6fd63811d610b597f6f3983fd36 100644 (file)
@@ -1,3 +1,8 @@
+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>
 
        * filename_cmp.c (filename_cmp): Improve documentation.
index 11ca549a8ea9bb2add001fb381550082b4db002d..e76c1f825d26cb1c2f111f1585222cb6bafaa6bd 100644 (file)
@@ -312,9 +312,7 @@ operating system to free the memory when the program exits.
 */
 
 void
-expandargv (argcp, argvp)
-     int *argcp;
-     char ***argvp;
+expandargv (int *argcp, char ***argvp)
 {
   /* The argument we are currently processing.  */
   int i = 0;
index 4116ec9963fb3f6fb20c1889bc99e30ed2fed0ef..037809e34edfabbf5288ece771676e227b64a098 100644 (file)
@@ -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);
 }
This page took 0.07532 seconds and 5 git commands to generate.