diff options
Diffstat (limited to 'src/intervals.c')
| -rw-r--r-- | src/intervals.c | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/src/intervals.c b/src/intervals.c index 4de001f2ffc..2063655cdb9 100644 --- a/src/intervals.c +++ b/src/intervals.c | |||
| @@ -247,8 +247,7 @@ static int zero_length; | |||
| 247 | INTERVAL search_interval, found_interval; | 247 | INTERVAL search_interval, found_interval; |
| 248 | 248 | ||
| 249 | void | 249 | void |
| 250 | check_for_interval (i) | 250 | check_for_interval (INTERVAL i) |
| 251 | register INTERVAL i; | ||
| 252 | { | 251 | { |
| 253 | if (i == search_interval) | 252 | if (i == search_interval) |
| 254 | { | 253 | { |
| @@ -258,8 +257,7 @@ check_for_interval (i) | |||
| 258 | } | 257 | } |
| 259 | 258 | ||
| 260 | INTERVAL | 259 | INTERVAL |
| 261 | search_for_interval (i, tree) | 260 | search_for_interval (INTERVAL i, INTERVAL tree) |
| 262 | register INTERVAL i, tree; | ||
| 263 | { | 261 | { |
| 264 | icount = 0; | 262 | icount = 0; |
| 265 | search_interval = i; | 263 | search_interval = i; |
| @@ -269,8 +267,7 @@ search_for_interval (i, tree) | |||
| 269 | } | 267 | } |
| 270 | 268 | ||
| 271 | static void | 269 | static void |
| 272 | inc_interval_count (i) | 270 | inc_interval_count (INTERVAL i) |
| 273 | INTERVAL i; | ||
| 274 | { | 271 | { |
| 275 | icount++; | 272 | icount++; |
| 276 | if (LENGTH (i) == 0) | 273 | if (LENGTH (i) == 0) |
| @@ -280,8 +277,7 @@ inc_interval_count (i) | |||
| 280 | } | 277 | } |
| 281 | 278 | ||
| 282 | int | 279 | int |
| 283 | count_intervals (i) | 280 | count_intervals (INTERVAL i) |
| 284 | register INTERVAL i; | ||
| 285 | { | 281 | { |
| 286 | icount = 0; | 282 | icount = 0; |
| 287 | idepth = 0; | 283 | idepth = 0; |
| @@ -292,8 +288,7 @@ count_intervals (i) | |||
| 292 | } | 288 | } |
| 293 | 289 | ||
| 294 | static INTERVAL | 290 | static INTERVAL |
| 295 | root_interval (interval) | 291 | root_interval (INTERVAL interval) |
| 296 | INTERVAL interval; | ||
| 297 | { | 292 | { |
| 298 | register INTERVAL i = interval; | 293 | register INTERVAL i = interval; |
| 299 | 294 | ||
| @@ -804,9 +799,8 @@ update_interval (register INTERVAL i, EMACS_INT pos) | |||
| 804 | to the root. */ | 799 | to the root. */ |
| 805 | 800 | ||
| 806 | static INTERVAL | 801 | static INTERVAL |
| 807 | adjust_intervals_for_insertion (tree, position, length) | 802 | adjust_intervals_for_insertion (INTERVAL tree, EMACS_INT position, |
| 808 | INTERVAL tree; | 803 | EMACS_INT length) |
| 809 | EMACS_INT position, length; | ||
| 810 | { | 804 | { |
| 811 | register EMACS_INT relative_position; | 805 | register EMACS_INT relative_position; |
| 812 | register INTERVAL this; | 806 | register INTERVAL this; |
| @@ -1615,9 +1609,7 @@ reproduce_tree_obj (INTERVAL source, Lisp_Object parent) | |||
| 1615 | interval. */ | 1609 | interval. */ |
| 1616 | 1610 | ||
| 1617 | static INTERVAL | 1611 | static INTERVAL |
| 1618 | make_new_interval (intervals, start, length) | 1612 | make_new_interval (INTERVAL intervals, EMACS_INT start, EMACS_INT length) |
| 1619 | INTERVAL intervals; | ||
| 1620 | EMACS_INT start, length; | ||
| 1621 | { | 1613 | { |
| 1622 | INTERVAL slot; | 1614 | INTERVAL slot; |
| 1623 | 1615 | ||