diff options
Diffstat (limited to 'src/term.c')
| -rw-r--r-- | src/term.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/term.c b/src/term.c index 96f9ce02f9b..4f326234956 100644 --- a/src/term.c +++ b/src/term.c | |||
| @@ -1087,7 +1087,7 @@ tty_ins_del_lines (struct frame *f, int vpos, int n) | |||
| 1087 | not counting any line-dependent padding. */ | 1087 | not counting any line-dependent padding. */ |
| 1088 | 1088 | ||
| 1089 | int | 1089 | int |
| 1090 | string_cost (char *str) | 1090 | string_cost (const char *str) |
| 1091 | { | 1091 | { |
| 1092 | cost = 0; | 1092 | cost = 0; |
| 1093 | if (str) | 1093 | if (str) |
| @@ -1099,7 +1099,7 @@ string_cost (char *str) | |||
| 1099 | counting any line-dependent padding at one line. */ | 1099 | counting any line-dependent padding at one line. */ |
| 1100 | 1100 | ||
| 1101 | static int | 1101 | static int |
| 1102 | string_cost_one_line (char *str) | 1102 | string_cost_one_line (const char *str) |
| 1103 | { | 1103 | { |
| 1104 | cost = 0; | 1104 | cost = 0; |
| 1105 | if (str) | 1105 | if (str) |
| @@ -1111,7 +1111,7 @@ string_cost_one_line (char *str) | |||
| 1111 | in tenths of characters. */ | 1111 | in tenths of characters. */ |
| 1112 | 1112 | ||
| 1113 | int | 1113 | int |
| 1114 | per_line_cost (char *str) | 1114 | per_line_cost (const char *str) |
| 1115 | { | 1115 | { |
| 1116 | cost = 0; | 1116 | cost = 0; |
| 1117 | if (str) | 1117 | if (str) |
| @@ -2301,7 +2301,7 @@ get_tty_terminal (Lisp_Object terminal, int throw) | |||
| 2301 | Returns NULL if the named terminal device is not opened. */ | 2301 | Returns NULL if the named terminal device is not opened. */ |
| 2302 | 2302 | ||
| 2303 | struct terminal * | 2303 | struct terminal * |
| 2304 | get_named_tty (char *name) | 2304 | get_named_tty (const char *name) |
| 2305 | { | 2305 | { |
| 2306 | struct terminal *t; | 2306 | struct terminal *t; |
| 2307 | 2307 | ||
| @@ -3372,7 +3372,7 @@ dissociate_if_controlling_tty (int fd) | |||
| 3372 | If MUST_SUCCEED is true, then all errors are fatal. */ | 3372 | If MUST_SUCCEED is true, then all errors are fatal. */ |
| 3373 | 3373 | ||
| 3374 | struct terminal * | 3374 | struct terminal * |
| 3375 | init_tty (char *name, char *terminal_type, int must_succeed) | 3375 | init_tty (const char *name, const char *terminal_type, int must_succeed) |
| 3376 | { | 3376 | { |
| 3377 | char *area = NULL; | 3377 | char *area = NULL; |
| 3378 | char **address = &area; | 3378 | char **address = &area; |