Mercurial > emacs
comparison src/editfns.c @ 109364:89a16701cde1
Convert old-style definitions
* editfns.c (transpose_markers): Convert old-style definition.
* emacs.c (abort, shut_down_emacs, fixup_locale)
(synchronize_system_time_locale)
(synchronize_system_messages_locale, syms_of_emacs): Likewise.
* floatfns.c (extract_float, matherr, init_floatfns)
(syms_of_floatfns): Likewise.
* fns.c (make_hash_table): Likewise.
* ftfont.c (ftfont_get_otf, ftfont_otf_features)
(ftfont_otf_capability, ftfont_get_glyph_id, ftfont_get_metrics)
(ftfont_drive_otf, ftfont_shape_by_flt, ftfont_shape)
(ftfont_variation_glyphs): Likewise.
* gtkutil.c (xg_create_widget, xg_modify_menubar_widgets): Likewise.
* keymap.c (describe_map_tree, describe_map, describe_vector): Likewise.
* lread.c (read_filtered_event): Likewise.
* minibuf.c (read_minibuf_noninteractive, read_minibuf): Likewise.
* process.c (wait_reading_process_output): Likewise.
* scroll.c (do_line_insertion_deletion_costs): Likewise.
* search.c (search_buffer, boyer_moore): Likewise.
* syntax.c (scan_sexps_forward): Likewise.
* xdisp.c (try_scrolling): Likewise.
* xfaces.c (face_at_buffer_position, face_for_overlay_string)
(face_at_string_position): Likewise.
* xfns.c (x_default_scroll_bar_color_parameter): Likewise.
* xselect.c (x_get_window_property, receive_incremental_selection)
(x_get_window_property_as_lisp_data, lisp_data_to_selection_data):
Likewise.
* xterm.c (x_draw_relief_rect, x_draw_box_rect): Likewise.
author | Andreas Schwab <schwab@linux-m68k.org> |
---|---|
date | Mon, 12 Jul 2010 19:47:17 +0200 |
parents | 8f3464b85afb |
children | 68ca98ae70fb |
comparison
equal
deleted
inserted
replaced
109363:9cfc1b90afea | 109364:89a16701cde1 |
---|---|
4167 rest untouched. Most of this is copied from adjust_markers in insdel.c. | 4167 rest untouched. Most of this is copied from adjust_markers in insdel.c. |
4168 | 4168 |
4169 It's the caller's job to ensure that START1 <= END1 <= START2 <= END2. */ | 4169 It's the caller's job to ensure that START1 <= END1 <= START2 <= END2. */ |
4170 | 4170 |
4171 static void | 4171 static void |
4172 transpose_markers (start1, end1, start2, end2, | 4172 transpose_markers (int start1, int end1, int start2, int end2, |
4173 start1_byte, end1_byte, start2_byte, end2_byte) | 4173 int start1_byte, int end1_byte, |
4174 register int start1, end1, start2, end2; | 4174 int start2_byte, int end2_byte) |
4175 register int start1_byte, end1_byte, start2_byte, end2_byte; | |
4176 { | 4175 { |
4177 register int amt1, amt1_byte, amt2, amt2_byte, diff, diff_byte, mpos; | 4176 register int amt1, amt1_byte, amt2, amt2_byte, diff, diff_byte, mpos; |
4178 register struct Lisp_Marker *marker; | 4177 register struct Lisp_Marker *marker; |
4179 | 4178 |
4180 /* Update point as if it were a marker. */ | 4179 /* Update point as if it were a marker. */ |