aboutsummaryrefslogtreecommitdiff
path: root/include/plugin-api.h
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/plugin-api.h
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/plugin-api.h')
-rw-r--r--include/plugin-api.h2
1 files changed, 1 insertions, 1 deletions
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
{