-Wwrite-strings: Constify warning_pre_print
[deliverable/binutils-gdb.git] / gdb / utils.h
index fb75f2e97c7e47a9f9c711a1ccb0ca7107727edb..2380bd7121dcd89c3870fc0665a7a4b7163ae285 100644 (file)
@@ -298,7 +298,7 @@ extern void (*deprecated_error_begin_hook) (void);
 
 /* Message to be printed before the warning message, when a warning occurs.  */
 
-extern char *warning_pre_print;
+extern const char *warning_pre_print;
 
 extern void error_stream (const string_file &) ATTRIBUTE_NORETURN;
 
This page took 0.023542 seconds and 4 git commands to generate.