aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCary Coutant <ccoutant@google.com>2008-12-01 19:50:49 +0000
committerCary Coutant <ccoutant@google.com>2008-12-01 19:50:49 +0000
commit6c52134ce6214f308feadde45e43ff7e9ab5dbdc (patch)
tree72a76450a945e2c6e5b729b4e11ad3a2b32e9269 /include
parenta6bfd026d0e011e4ea43aacad46a208ccefd2265 (diff)
downloadgdb-6c52134ce6214f308feadde45e43ff7e9ab5dbdc.zip
gdb-6c52134ce6214f308feadde45e43ff7e9ab5dbdc.tar.gz
gdb-6c52134ce6214f308feadde45e43ff7e9ab5dbdc.tar.bz2
gold/ChangeLog:
* plugin.cc (ld_plugin_message): Change format parameter to const. Fix mismatch between new[] and delete. include/ChangeLog: * plugin-api.h (ld_plugin_message): Change format parameter to const.
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
{