summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog10
-rw-r--r--binutils/addr2line.c2
-rw-r--r--binutils/ar.c2
-rw-r--r--binutils/nm.c2
-rw-r--r--binutils/objcopy.c2
-rw-r--r--binutils/objdump.c2
-rw-r--r--binutils/size.c2
-rw-r--r--binutils/strings.c2
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/gasp.c2
10 files changed, 30 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 1ddf1fadbd..3b31f68ffe 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,13 @@
+2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * addr2line.c (main): Protoype.
+ * ar.c (main): Protoype.
+ * nm.c (main): Protoype.
+ * objcopy.c (main): Protoype.
+ * objdump.c (main): Protoype.
+ * size.c (main): Protoype.
+ * strings.c (main): Protoype.
+
2001-12-17 Alan Modra <amodra@bigpond.net.au>
* readelf.c (symtab_shndx_hdr): New global.
diff --git a/binutils/addr2line.c b/binutils/addr2line.c
index 8ccf198cc5..171c972461 100644
--- a/binutils/addr2line.c
+++ b/binutils/addr2line.c
@@ -263,6 +263,8 @@ process_file (filename, target)
bfd_close (abfd);
}
+int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc;
diff --git a/binutils/ar.c b/binutils/ar.c
index fe46b91d17..e892713ad4 100644
--- a/binutils/ar.c
+++ b/binutils/ar.c
@@ -358,6 +358,8 @@ remove_output ()
/* The option parsing should be in its own function.
It will be when I have getopt working. */
+int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc;
diff --git a/binutils/nm.c b/binutils/nm.c
index e6cc368e81..8405c6f83c 100644
--- a/binutils/nm.c
+++ b/binutils/nm.c
@@ -394,6 +394,8 @@ set_output_format (f)
format = &formats[i];
}
+int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc;
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index 6ce7e91cd7..f72a915103 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -2602,6 +2602,8 @@ copy_main (argc, argv)
return 0;
}
+int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc;
diff --git a/binutils/objdump.c b/binutils/objdump.c
index b10e3f5d13..be6007d48f 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -2738,6 +2738,8 @@ display_info ()
display_target_tables ();
}
+int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc;
diff --git a/binutils/size.c b/binutils/size.c
index 43442422a7..c6c9cf1c39 100644
--- a/binutils/size.c
+++ b/binutils/size.c
@@ -102,6 +102,8 @@ struct option long_options[] =
{0, no_argument, 0, 0}
};
+int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc;
diff --git a/binutils/strings.c b/binutils/strings.c
index 5c88175e1b..aff1a54890 100644
--- a/binutils/strings.c
+++ b/binutils/strings.c
@@ -150,6 +150,8 @@ static void usage PARAMS ((FILE *stream, int status));
static long get_char PARAMS ((FILE *stream, file_off *address,
int *magiccount, char **magic));
+int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc;
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 81bf372531..8e8ed8bff4 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2001-12-18 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+ * gasp.c (main): Protoype.
+
2001-12-17 Richard Henderson <rth@redhat.com>
* config/tc-alpha.c (alpha_handle_align): Encode unop with RB as $sp.
diff --git a/gas/gasp.c b/gas/gasp.c
index 4022408e51..dc1946e4e5 100644
--- a/gas/gasp.c
+++ b/gas/gasp.c
@@ -3537,6 +3537,8 @@ show_help ()
show_usage (stdout, 0);
}
+int main PARAMS ((int, char **));
+
int
main (argc, argv)
int argc;