]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - cmdgen.c
Giant const-correctness patch of doom!
[PuTTY.git] / cmdgen.c
index eefcfda7c0291d72f4c283ac9fab467246f9b19e..4811280b111ada742d67350c68093c0f75fd53bb 100644 (file)
--- a/cmdgen.c
+++ b/cmdgen.c
@@ -91,7 +91,7 @@ static void no_progress(void *param, int action, int phase, int iprogress)
 {
 }
 
-void modalfatalbox(char *p, ...)
+void modalfatalbox(const char *p, ...)
 {
     va_list ap;
     fprintf(stderr, "FATAL ERROR: ");
@@ -102,7 +102,7 @@ void modalfatalbox(char *p, ...)
     cleanup_exit(1);
 }
 
-void nonfatal(char *p, ...)
+void nonfatal(const char *p, ...)
 {
     va_list ap;
     fprintf(stderr, "ERROR: ");