aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-12-18 08:22:30 +0000
committerThiemo Seufer <ths@networkno.de>2001-12-18 08:22:30 +0000
commit65de42c0f95fece900176948415027a83bc83451 (patch)
treed2bd9ee449281c2a7cb72afd3b9ba8676183aaa1
parent50b2bdb7801fd6fdeae6bd672e3c5062a7a91bac (diff)
downloadgdb-65de42c0f95fece900176948415027a83bc83451.zip
gdb-65de42c0f95fece900176948415027a83bc83451.tar.gz
gdb-65de42c0f95fece900176948415027a83bc83451.tar.bz2
* 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. * gasp.c (main): Protoype.
-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 1ddf1fa..3b31f68 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 8ccf198..171c972 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 fe46b91..e892713 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 e6cc368..8405c6f 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 6ce7e91..f72a915 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 b10e3f5..be6007d 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 4344242..c6c9cf1 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 5c88175..aff1a54 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 81bf372..8e8ed8b 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 4022408..dc1946e 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;