aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog4
-rw-r--r--include/plugin-api.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 1c162dc..79bebbf 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,5 +1,9 @@
2008-12-01 Cary Coutant <ccoutant@google.com>
+ * plugin-api.h (ld_plugin_message): Change format parameter to const.
+
+2008-12-01 Cary Coutant <ccoutant@google.com>
+
* plugin-api.h: Fix syntax error when compiling with C++.
2008-11-26 Alan Modra <amodra@bigpond.net.au>
diff --git a/include/plugin-api.h b/include/plugin-api.h
index 3af486c..a90fa23 100644
--- a/include/plugin-api.h
+++ b/include/plugin-api.h
@@ -182,7 +182,7 @@ enum ld_plugin_status
typedef
enum ld_plugin_status
-(*ld_plugin_message) (int level, char *format, ...);
+(*ld_plugin_message) (int level, const char *format, ...);
enum ld_plugin_level
{