X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/7c82f3e23e37cc848a38b1f8be7149fd672a6393..207cb73c182d432a00fef797428d3b79ab519287:/src/msdos.h diff --git a/src/msdos.h b/src/msdos.h index 2b75e81327..a73c1f2901 100644 --- a/src/msdos.h +++ b/src/msdos.h @@ -1,6 +1,5 @@ /* MS-DOS specific C utilities, interface. - Copyright (C) 1993, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 1993, 2001-2012 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -41,6 +40,11 @@ void mouse_init (void); void mouse_on (void); void mouse_off (void); void mouse_moveto (int, int); + +#if __DJGPP__ == 2 && __DJGPP_MINOR__ < 4 +int readlink (const char *, char *, size_t); +#endif + #ifndef HAVE_X_WINDOWS /* Dummy types. */ @@ -97,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 */