diff options
author | Cary Coutant <ccoutant@google.com> | 2008-12-01 19:50:49 +0000 |
---|---|---|
committer | Cary Coutant <ccoutant@google.com> | 2008-12-01 19:50:49 +0000 |
commit | 15bb3d1e842c443d3a7ba54c10ff73926b76dd9b (patch) | |
tree | e14e11fd7cd3ee15d1ad68b9a15efc8ab80496b5 /include | |
parent | 54e01333f7619ef24ec5cf0f1837ce1f0e6a9e22 (diff) | |
download | newlib-15bb3d1e842c443d3a7ba54c10ff73926b76dd9b.zip newlib-15bb3d1e842c443d3a7ba54c10ff73926b76dd9b.tar.gz newlib-15bb3d1e842c443d3a7ba54c10ff73926b76dd9b.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/ChangeLog | 4 | ||||
-rw-r--r-- | include/plugin-api.h | 2 |
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 { |