2005-01-13 Andrew Cagney <cagney@gnu.org>

* exceptions.h (struct exception): Make message const.
	* mi/mi-main.c (mi_execute_command): Pass result.message directly
	to fputstr_unfiltered.
This commit is contained in:
Andrew Cagney
2005-01-14 02:33:24 +00:00
parent cbd3c883c0
commit b315da3853
3 changed files with 6 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ struct exception
{
enum return_reason reason;
enum errors error;
char *message;
const char *message;
};
/* A pre-defined non-exception. */