Commits

Shlomi Fish committed 2e10017

Convert Usage to const.

Comments (0)

Files changed (3)

patsolve/patmain.c

 #include "pat.h"
 #include "tree.h"
 
-char Usage[] =
+const char Usage[] =
   "usage: %s [-s|f] [-k|a] [-w<n>] [-t<n>] [-E] [-S] [-q|v] [layout]\n"
   "-s Seahaven (same suit), -f Freecell (red/black)\n"
   "-k only Kings start a pile, -a any card starts a pile\n"
 
 /* Just print a message. */
 
-void fc_solve_msg(char *msg, ...)
+void fc_solve_msg(const char *msg, ...)
 {
 	va_list ap;
 
 extern "C" {
 #endif
 /* Error messages. */
-extern void fc_solve_msg(char *msg, ...);
+extern void fc_solve_msg(const char *msg, ...);
 
 #ifdef  __cplusplus
 }