summaryrefslogtreecommitdiff
path: root/src/twm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/twm.h')
-rw-r--r--src/twm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/twm.h b/src/twm.h
index ec3ca98..2d76ef0 100644
--- a/src/twm.h
+++ b/src/twm.h
@@ -147,7 +147,7 @@ typedef SIGNAL_T (*SigProc)(int); /* type of function returned by signal() */
typedef struct MyFont
{
- char *name; /* name of the font */
+ const char *name; /* name of the font */
XFontStruct *font; /* font structure */
XFontSet fontset; /* fontset structure */
int height; /* height of the font */
@@ -163,13 +163,13 @@ typedef struct ColorPair
typedef struct _TitleButton {
struct _TitleButton *next; /* next link in chain */
- char *name; /* bitmap name in case of deferal */
+ const char *name; /* bitmap name in case of deferal */
Pixmap bitmap; /* image to display in button */
int srcx, srcy; /* from where to start copying */
unsigned int width, height; /* size of pixmap */
int dstx, dsty; /* to where to start copying */
int func; /* function to execute */
- char *action; /* optional action arg */
+ const char *action; /* optional action arg */
struct MenuRoot *menuroot; /* menu to pop on F_MENU */
Bool rightside; /* t: on right, f: on left */
} TitleButton;
@@ -379,7 +379,7 @@ extern XContext IconManagerContext;
extern XContext ScreenContext;
extern XContext ColormapContext;
-extern char *Home;
+extern const char *Home;
extern int HomeLen;
extern int ParseError;
@@ -395,7 +395,7 @@ extern int InfoLines;
extern char Info[][INFO_SIZE];
extern int Argc;
extern char **Argv;
-extern void NewFontCursor ( Cursor *cp, char *str );
+extern void NewFontCursor ( Cursor *cp, const char *str );
extern void NewBitmapCursor ( Cursor *cp, char *source, char *mask );
extern Pixmap CreateMenuIcon ( int height, unsigned int *widthp, unsigned int *heightp );
@@ -411,7 +411,7 @@ extern void twmrc_error_prefix ( void );
extern int yyparse ( void );
extern int yylex ( void );
-extern void yyerror ( char *s );
+extern void yyerror ( const char *s );
extern int doinput ( char *buf, int size );
extern void RemoveDQuote ( char *str );