summaryrefslogtreecommitdiff
path: root/xmodmap.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-11 20:40:18 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-16 22:58:38 -0800
commit66c09c83aa2f64b31dc657f90447c269621545b7 (patch)
tree211b6c3ea96175770e25a62a1220d898f4a9e0c7 /xmodmap.h
parent8751095511c7d9065ab12a40e90e38bdd9d728e4 (diff)
Fix gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'xmodmap.h')
-rw-r--r--xmodmap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmodmap.h b/xmodmap.h
index 5addd7b..1540b2a 100644
--- a/xmodmap.h
+++ b/xmodmap.h
@@ -37,7 +37,7 @@ extern int parse_errors;
extern void initialize_map(void);
extern void process_file(const char *filename);
-extern void process_line(char *buffer);
+extern void process_line(const char *buffer);
extern void handle_line(char *line, int len);
extern void print_work_queue(void);
extern int execute_work_queue(void);
@@ -55,4 +55,5 @@ extern void PrintKeyTable(Bool exprs, FILE *fp);
extern void PrintPointerMap(FILE *fp);
extern int SetPointerMap(unsigned char *map, int n);
+extern void _X_NORETURN Exit(int status);
extern void *chk_malloc(size_t n_bytes);