]> code.delx.au - gnu-emacs/blobdiff - src/msdos.h
* ccl.c: Improve and simplify overflow checking (Bug#9196).
[gnu-emacs] / src / msdos.h
index 4bbe9b134de33e00ee79d76dc613373a1d4df57e..3048b5f7e353a629dc3c645d9c44ad00766fcfa5 100644 (file)
@@ -101,16 +101,16 @@ typedef struct x_menu_struct
   int allocated;
   int panecount;
   int width;
-  char **help_text;
+  const char **help_text;
 } XMenu;
 
 XMenu *XMenuCreate (Display *, Window, char *);
-int XMenuAddPane (Display *, XMenu *, char *, int);
-int XMenuAddSelection (Display *, XMenu *, int, int, char *, int, char *);
+int XMenuAddPane (Display *, XMenu *, char const *, int);
+int XMenuAddSelection (Display *, XMenu *, int, int, char *, int, char const *);
 void XMenuLocate (Display *, XMenu *, int, int, int, int,
                  int *, int *, int *, int *);
 int XMenuActivate (Display *, XMenu *, int *, int *, int, int, unsigned,
-                  char **, void (*callback)(char *, int, int));
+                  char **, void (*callback)(char const *, int, int));
 void XMenuDestroy (Display *, XMenu *);
 
 #endif /* not HAVE_X_WINDOWS */