summaryrefslogtreecommitdiff
path: root/gcc/lto
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/lto')
-rw-r--r--gcc/lto/ChangeLog5
-rw-r--r--gcc/lto/lto.c2
-rw-r--r--gcc/lto/lto.h2
3 files changed, 7 insertions, 2 deletions
diff --git a/gcc/lto/ChangeLog b/gcc/lto/ChangeLog
index c254da1a5fa..8b026724cb3 100644
--- a/gcc/lto/ChangeLog
+++ b/gcc/lto/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-17 Joseph Myers <joseph@codesourcery.com>
+
+ * lto.c (lto_main): Take no arguments.
+ * lto.h (lto_main): Update prototype.
+
2010-11-16 Ian Lance Taylor <iant@google.com>
* lto-object.c (lto_obj_file_open): Call
diff --git a/gcc/lto/lto.c b/gcc/lto/lto.c
index d3b9228b6a8..44f866ad075 100644
--- a/gcc/lto/lto.c
+++ b/gcc/lto/lto.c
@@ -2437,7 +2437,7 @@ lto_process_name (void)
simply applies them. */
void
-lto_main (int debug_p ATTRIBUTE_UNUSED)
+lto_main (void)
{
lto_process_name ();
diff --git a/gcc/lto/lto.h b/gcc/lto/lto.h
index 47d9973b31f..8110ace2749 100644
--- a/gcc/lto/lto.h
+++ b/gcc/lto/lto.h
@@ -37,7 +37,7 @@ extern const char *resolution_file_name;
/* In lto.c */
extern tree lto_eh_personality (void);
-extern void lto_main (int);
+extern void lto_main (void);
extern void lto_read_all_file_options (void);
/* In lto-elf.c or lto-coff.c */