diff options
| author | Paul Eggert | 2012-09-30 23:36:54 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-30 23:36:54 -0700 |
| commit | b0ab8123df78b7149d1f55b2ef0d3095c3f10628 (patch) | |
| tree | 14d324cb46348dbf9a4568c7050d2776259c5358 /src/buffer.c | |
| parent | 05584c31090df82f831f2998939fd423f036e86d (diff) | |
| download | emacs-b0ab8123df78b7149d1f55b2ef0d3095c3f10628.tar.gz emacs-b0ab8123df78b7149d1f55b2ef0d3095c3f10628.zip | |
Prefer plain 'static' to 'static inline'.
With static functions, modern compilers inline pretty well by
themselves; advice from programmers often hurts as much as it helps.
On my host (x86-64, Fedora 17, GCC 4.7.2, default 'configure'),
this change shrinks the text size of the Emacs executable by 1.1%
without affecting CPU significantly in my benchmark.
* alloc.c (mem_find, live_string_p, live_cons_p, live_symbol_p)
(live_float_p, live_misc_p, live_vector_p, live_buffer_p)
(mark_maybe_object, mark_maybe_pointer, bounded_number):
* buffer.c (bset_abbrev_mode, bset_abbrev_table)
(bset_auto_fill_function, bset_auto_save_file_format)
(bset_auto_save_file_name, bset_backed_up, bset_begv_marker)
(bset_bidi_display_reordering, bset_buffer_file_coding_system)
(bset_cache_long_line_scans, bset_case_fold_search)
(bset_ctl_arrow, bset_cursor_in_non_selected_windows)
(bset_cursor_type, bset_display_table, bset_extra_line_spacing)
(bset_file_format, bset_file_truename, bset_fringe_cursor_alist)
(bset_fringe_indicator_alist, bset_fringes_outside_margins)
(bset_header_line_format, bset_indicate_buffer_boundaries)
(bset_indicate_empty_lines, bset_invisibility_spec)
(bset_left_fringe_width, bset_major_mode, bset_mark)
(bset_minor_modes, bset_mode_line_format, bset_mode_name)
(bset_name, bset_overwrite_mode, bset_pt_marker)
(bset_right_fringe_width, bset_save_length)
(bset_scroll_bar_width, bset_scroll_down_aggressively)
(bset_scroll_up_aggressively, bset_selective_display)
(bset_selective_display_ellipses, bset_vertical_scroll_bar_type)
(bset_word_wrap, bset_zv_marker, set_buffer_overlays_before)
(set_buffer_overlays_after):
* category.c (bset_category_table):
* charset.c (read_hex):
* coding.c (produce_composition, produce_charset)
(handle_composition_annotation, handle_charset_annotation)
(char_encodable_p):
* dispnew.c (swap_glyph_pointers, copy_row_except_pointers)
(assign_row, set_frame_matrix_frame, make_current)
(add_row_entry):
* eval.c (set_specpdl_symbol, set_specpdl_old_value):
* fns.c (maybe_resize_hash_table):
* frame.c (fset_buffer_predicate, fset_minibuffer_window):
* gmalloc.c (register_heapinfo):
* image.c (lookup_image_type):
* intervals.c (set_interval_object, set_interval_left)
(set_interval_right, copy_interval_parent, rotate_right)
(rotate_left, balance_possible_root_interval):
* keyboard.c (kset_echo_string, kset_kbd_queue)
(kset_keyboard_translate_table, kset_last_prefix_arg)
(kset_last_repeatable_command, kset_local_function_key_map)
(kset_overriding_terminal_local_map, kset_real_last_command)
(kset_system_key_syms, clear_event, set_prop):
* lread.c (digit_to_number):
* marker.c (attach_marker, live_buffer, set_marker_internal):
* nsterm.m (ns_compute_glyph_string_overhangs):
* process.c (pset_buffer, pset_command)
(pset_decode_coding_system, pset_decoding_buf)
(pset_encode_coding_system, pset_encoding_buf, pset_filter)
(pset_log, pset_mark, pset_name, pset_plist, pset_sentinel)
(pset_status, pset_tty_name, pset_type, pset_write_queue):
* syntax.c (bset_syntax_table, dec_bytepos):
* terminal.c (tset_param_alist):
* textprop.c (interval_has_some_properties)
(interval_has_some_properties_list):
* window.c (wset_combination_limit, wset_dedicated)
(wset_display_table, wset_hchild, wset_left_fringe_width)
(wset_left_margin_cols, wset_new_normal, wset_new_total)
(wset_normal_cols, wset_normal_lines, wset_parent, wset_pointm)
(wset_right_fringe_width, wset_right_margin_cols)
(wset_scroll_bar_width, wset_start, wset_temslot, wset_vchild)
(wset_vertical_scroll_bar_type, wset_window_parameters):
* xdisp.c (wset_base_line_number, wset_base_line_pos)
(wset_column_number_displayed, wset_region_showing)
(window_box_edges, run_window_scroll_functions)
(append_glyph_string_lists, prepend_glyph_string_lists)
(append_glyph_string, set_glyph_string_background_width)
(append_glyph, append_composite_glyph)
(take_vertical_position_into_account):
* xfaces.c (x_create_gc, x_free_gc, merge_face_vectors)
(face_attr_equal_p, lface_equal_p, hash_string_case_insensitive)
(lface_hash, lface_same_font_attributes_p, lookup_face):
* xml.c (libxml2_loaded_p):
* xterm.c (x_set_mode_line_face_gc, x_set_glyph_string_gc)
(x_set_glyph_string_clipping, x_clear_glyph_string_rect):
Now 'static', not 'static inline'.
Fixes: debbugs:12541
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 92 |
1 files changed, 46 insertions, 46 deletions
diff --git a/src/buffer.c b/src/buffer.c index 356a308fce6..580ea671b43 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -150,222 +150,222 @@ static void modify_overlay (struct buffer *, ptrdiff_t, ptrdiff_t); | |||
| 150 | static Lisp_Object buffer_lisp_local_variables (struct buffer *, bool); | 150 | static Lisp_Object buffer_lisp_local_variables (struct buffer *, bool); |
| 151 | 151 | ||
| 152 | /* These setters are used only in this file, so they can be private. */ | 152 | /* These setters are used only in this file, so they can be private. */ |
| 153 | static inline void | 153 | static void |
| 154 | bset_abbrev_mode (struct buffer *b, Lisp_Object val) | 154 | bset_abbrev_mode (struct buffer *b, Lisp_Object val) |
| 155 | { | 155 | { |
| 156 | b->INTERNAL_FIELD (abbrev_mode) = val; | 156 | b->INTERNAL_FIELD (abbrev_mode) = val; |
| 157 | } | 157 | } |
| 158 | static inline void | 158 | static void |
| 159 | bset_abbrev_table (struct buffer *b, Lisp_Object val) | 159 | bset_abbrev_table (struct buffer *b, Lisp_Object val) |
| 160 | { | 160 | { |
| 161 | b->INTERNAL_FIELD (abbrev_table) = val; | 161 | b->INTERNAL_FIELD (abbrev_table) = val; |
| 162 | } | 162 | } |
| 163 | static inline void | 163 | static void |
| 164 | bset_auto_fill_function (struct buffer *b, Lisp_Object val) | 164 | bset_auto_fill_function (struct buffer *b, Lisp_Object val) |
| 165 | { | 165 | { |
| 166 | b->INTERNAL_FIELD (auto_fill_function) = val; | 166 | b->INTERNAL_FIELD (auto_fill_function) = val; |
| 167 | } | 167 | } |
| 168 | static inline void | 168 | static void |
| 169 | bset_auto_save_file_format (struct buffer *b, Lisp_Object val) | 169 | bset_auto_save_file_format (struct buffer *b, Lisp_Object val) |
| 170 | { | 170 | { |
| 171 | b->INTERNAL_FIELD (auto_save_file_format) = val; | 171 | b->INTERNAL_FIELD (auto_save_file_format) = val; |
| 172 | } | 172 | } |
| 173 | static inline void | 173 | static void |
| 174 | bset_auto_save_file_name (struct buffer *b, Lisp_Object val) | 174 | bset_auto_save_file_name (struct buffer *b, Lisp_Object val) |
| 175 | { | 175 | { |
| 176 | b->INTERNAL_FIELD (auto_save_file_name) = val; | 176 | b->INTERNAL_FIELD (auto_save_file_name) = val; |
| 177 | } | 177 | } |
| 178 | static inline void | 178 | static void |
| 179 | bset_backed_up (struct buffer *b, Lisp_Object val) | 179 | bset_backed_up (struct buffer *b, Lisp_Object val) |
| 180 | { | 180 | { |
| 181 | b->INTERNAL_FIELD (backed_up) = val; | 181 | b->INTERNAL_FIELD (backed_up) = val; |
| 182 | } | 182 | } |
| 183 | static inline void | 183 | static void |
| 184 | bset_begv_marker (struct buffer *b, Lisp_Object val) | 184 | bset_begv_marker (struct buffer *b, Lisp_Object val) |
| 185 | { | 185 | { |
| 186 | b->INTERNAL_FIELD (begv_marker) = val; | 186 | b->INTERNAL_FIELD (begv_marker) = val; |
| 187 | } | 187 | } |
| 188 | static inline void | 188 | static void |
| 189 | bset_bidi_display_reordering (struct buffer *b, Lisp_Object val) | 189 | bset_bidi_display_reordering (struct buffer *b, Lisp_Object val) |
| 190 | { | 190 | { |
| 191 | b->INTERNAL_FIELD (bidi_display_reordering) = val; | 191 | b->INTERNAL_FIELD (bidi_display_reordering) = val; |
| 192 | } | 192 | } |
| 193 | static inline void | 193 | static void |
| 194 | bset_buffer_file_coding_system (struct buffer *b, Lisp_Object val) | 194 | bset_buffer_file_coding_system (struct buffer *b, Lisp_Object val) |
| 195 | { | 195 | { |
| 196 | b->INTERNAL_FIELD (buffer_file_coding_system) = val; | 196 | b->INTERNAL_FIELD (buffer_file_coding_system) = val; |
| 197 | } | 197 | } |
| 198 | static inline void | 198 | static void |
| 199 | bset_cache_long_line_scans (struct buffer *b, Lisp_Object val) | 199 | bset_cache_long_line_scans (struct buffer *b, Lisp_Object val) |
| 200 | { | 200 | { |
| 201 | b->INTERNAL_FIELD (cache_long_line_scans) = val; | 201 | b->INTERNAL_FIELD (cache_long_line_scans) = val; |
| 202 | } | 202 | } |
| 203 | static inline void | 203 | static void |
| 204 | bset_case_fold_search (struct buffer *b, Lisp_Object val) | 204 | bset_case_fold_search (struct buffer *b, Lisp_Object val) |
| 205 | { | 205 | { |
| 206 | b->INTERNAL_FIELD (case_fold_search) = val; | 206 | b->INTERNAL_FIELD (case_fold_search) = val; |
| 207 | } | 207 | } |
| 208 | static inline void | 208 | static void |
| 209 | bset_ctl_arrow (struct buffer *b, Lisp_Object val) | 209 | bset_ctl_arrow (struct buffer *b, Lisp_Object val) |
| 210 | { | 210 | { |
| 211 | b->INTERNAL_FIELD (ctl_arrow) = val; | 211 | b->INTERNAL_FIELD (ctl_arrow) = val; |
| 212 | } | 212 | } |
| 213 | static inline void | 213 | static void |
| 214 | bset_cursor_in_non_selected_windows (struct buffer *b, Lisp_Object val) | 214 | bset_cursor_in_non_selected_windows (struct buffer *b, Lisp_Object val) |
| 215 | { | 215 | { |
| 216 | b->INTERNAL_FIELD (cursor_in_non_selected_windows) = val; | 216 | b->INTERNAL_FIELD (cursor_in_non_selected_windows) = val; |
| 217 | } | 217 | } |
| 218 | static inline void | 218 | static void |
| 219 | bset_cursor_type (struct buffer *b, Lisp_Object val) | 219 | bset_cursor_type (struct buffer *b, Lisp_Object val) |
| 220 | { | 220 | { |
| 221 | b->INTERNAL_FIELD (cursor_type) = val; | 221 | b->INTERNAL_FIELD (cursor_type) = val; |
| 222 | } | 222 | } |
| 223 | static inline void | 223 | static void |
| 224 | bset_display_table (struct buffer *b, Lisp_Object val) | 224 | bset_display_table (struct buffer *b, Lisp_Object val) |
| 225 | { | 225 | { |
| 226 | b->INTERNAL_FIELD (display_table) = val; | 226 | b->INTERNAL_FIELD (display_table) = val; |
| 227 | } | 227 | } |
| 228 | static inline void | 228 | static void |
| 229 | bset_extra_line_spacing (struct buffer *b, Lisp_Object val) | 229 | bset_extra_line_spacing (struct buffer *b, Lisp_Object val) |
| 230 | { | 230 | { |
| 231 | b->INTERNAL_FIELD (extra_line_spacing) = val; | 231 | b->INTERNAL_FIELD (extra_line_spacing) = val; |
| 232 | } | 232 | } |
| 233 | static inline void | 233 | static void |
| 234 | bset_file_format (struct buffer *b, Lisp_Object val) | 234 | bset_file_format (struct buffer *b, Lisp_Object val) |
| 235 | { | 235 | { |
| 236 | b->INTERNAL_FIELD (file_format) = val; | 236 | b->INTERNAL_FIELD (file_format) = val; |
| 237 | } | 237 | } |
| 238 | static inline void | 238 | static void |
| 239 | bset_file_truename (struct buffer *b, Lisp_Object val) | 239 | bset_file_truename (struct buffer *b, Lisp_Object val) |
| 240 | { | 240 | { |
| 241 | b->INTERNAL_FIELD (file_truename) = val; | 241 | b->INTERNAL_FIELD (file_truename) = val; |
| 242 | } | 242 | } |
| 243 | static inline void | 243 | static void |
| 244 | bset_fringe_cursor_alist (struct buffer *b, Lisp_Object val) | 244 | bset_fringe_cursor_alist (struct buffer *b, Lisp_Object val) |
| 245 | { | 245 | { |
| 246 | b->INTERNAL_FIELD (fringe_cursor_alist) = val; | 246 | b->INTERNAL_FIELD (fringe_cursor_alist) = val; |
| 247 | } | 247 | } |
| 248 | static inline void | 248 | static void |
| 249 | bset_fringe_indicator_alist (struct buffer *b, Lisp_Object val) | 249 | bset_fringe_indicator_alist (struct buffer *b, Lisp_Object val) |
| 250 | { | 250 | { |
| 251 | b->INTERNAL_FIELD (fringe_indicator_alist) = val; | 251 | b->INTERNAL_FIELD (fringe_indicator_alist) = val; |
| 252 | } | 252 | } |
| 253 | static inline void | 253 | static void |
| 254 | bset_fringes_outside_margins (struct buffer *b, Lisp_Object val) | 254 | bset_fringes_outside_margins (struct buffer *b, Lisp_Object val) |
| 255 | { | 255 | { |
| 256 | b->INTERNAL_FIELD (fringes_outside_margins) = val; | 256 | b->INTERNAL_FIELD (fringes_outside_margins) = val; |
| 257 | } | 257 | } |
| 258 | static inline void | 258 | static void |
| 259 | bset_header_line_format (struct buffer *b, Lisp_Object val) | 259 | bset_header_line_format (struct buffer *b, Lisp_Object val) |
| 260 | { | 260 | { |
| 261 | b->INTERNAL_FIELD (header_line_format) = val; | 261 | b->INTERNAL_FIELD (header_line_format) = val; |
| 262 | } | 262 | } |
| 263 | static inline void | 263 | static void |
| 264 | bset_indicate_buffer_boundaries (struct buffer *b, Lisp_Object val) | 264 | bset_indicate_buffer_boundaries (struct buffer *b, Lisp_Object val) |
| 265 | { | 265 | { |
| 266 | b->INTERNAL_FIELD (indicate_buffer_boundaries) = val; | 266 | b->INTERNAL_FIELD (indicate_buffer_boundaries) = val; |
| 267 | } | 267 | } |
| 268 | static inline void | 268 | static void |
| 269 | bset_indicate_empty_lines (struct buffer *b, Lisp_Object val) | 269 | bset_indicate_empty_lines (struct buffer *b, Lisp_Object val) |
| 270 | { | 270 | { |
| 271 | b->INTERNAL_FIELD (indicate_empty_lines) = val; | 271 | b->INTERNAL_FIELD (indicate_empty_lines) = val; |
| 272 | } | 272 | } |
| 273 | static inline void | 273 | static void |
| 274 | bset_invisibility_spec (struct buffer *b, Lisp_Object val) | 274 | bset_invisibility_spec (struct buffer *b, Lisp_Object val) |
| 275 | { | 275 | { |
| 276 | b->INTERNAL_FIELD (invisibility_spec) = val; | 276 | b->INTERNAL_FIELD (invisibility_spec) = val; |
| 277 | } | 277 | } |
| 278 | static inline void | 278 | static void |
| 279 | bset_left_fringe_width (struct buffer *b, Lisp_Object val) | 279 | bset_left_fringe_width (struct buffer *b, Lisp_Object val) |
| 280 | { | 280 | { |
| 281 | b->INTERNAL_FIELD (left_fringe_width) = val; | 281 | b->INTERNAL_FIELD (left_fringe_width) = val; |
| 282 | } | 282 | } |
| 283 | static inline void | 283 | static void |
| 284 | bset_major_mode (struct buffer *b, Lisp_Object val) | 284 | bset_major_mode (struct buffer *b, Lisp_Object val) |
| 285 | { | 285 | { |
| 286 | b->INTERNAL_FIELD (major_mode) = val; | 286 | b->INTERNAL_FIELD (major_mode) = val; |
| 287 | } | 287 | } |
| 288 | static inline void | 288 | static void |
| 289 | bset_mark (struct buffer *b, Lisp_Object val) | 289 | bset_mark (struct buffer *b, Lisp_Object val) |
| 290 | { | 290 | { |
| 291 | b->INTERNAL_FIELD (mark) = val; | 291 | b->INTERNAL_FIELD (mark) = val; |
| 292 | } | 292 | } |
| 293 | static inline void | 293 | static void |
| 294 | bset_minor_modes (struct buffer *b, Lisp_Object val) | 294 | bset_minor_modes (struct buffer *b, Lisp_Object val) |
| 295 | { | 295 | { |
| 296 | b->INTERNAL_FIELD (minor_modes) = val; | 296 | b->INTERNAL_FIELD (minor_modes) = val; |
| 297 | } | 297 | } |
| 298 | static inline void | 298 | static void |
| 299 | bset_mode_line_format (struct buffer *b, Lisp_Object val) | 299 | bset_mode_line_format (struct buffer *b, Lisp_Object val) |
| 300 | { | 300 | { |
| 301 | b->INTERNAL_FIELD (mode_line_format) = val; | 301 | b->INTERNAL_FIELD (mode_line_format) = val; |
| 302 | } | 302 | } |
| 303 | static inline void | 303 | static void |
| 304 | bset_mode_name (struct buffer *b, Lisp_Object val) | 304 | bset_mode_name (struct buffer *b, Lisp_Object val) |
| 305 | { | 305 | { |
| 306 | b->INTERNAL_FIELD (mode_name) = val; | 306 | b->INTERNAL_FIELD (mode_name) = val; |
| 307 | } | 307 | } |
| 308 | static inline void | 308 | static void |
| 309 | bset_name (struct buffer *b, Lisp_Object val) | 309 | bset_name (struct buffer *b, Lisp_Object val) |
| 310 | { | 310 | { |
| 311 | b->INTERNAL_FIELD (name) = val; | 311 | b->INTERNAL_FIELD (name) = val; |
| 312 | } | 312 | } |
| 313 | static inline void | 313 | static void |
| 314 | bset_overwrite_mode (struct buffer *b, Lisp_Object val) | 314 | bset_overwrite_mode (struct buffer *b, Lisp_Object val) |
| 315 | { | 315 | { |
| 316 | b->INTERNAL_FIELD (overwrite_mode) = val; | 316 | b->INTERNAL_FIELD (overwrite_mode) = val; |
| 317 | } | 317 | } |
| 318 | static inline void | 318 | static void |
| 319 | bset_pt_marker (struct buffer *b, Lisp_Object val) | 319 | bset_pt_marker (struct buffer *b, Lisp_Object val) |
| 320 | { | 320 | { |
| 321 | b->INTERNAL_FIELD (pt_marker) = val; | 321 | b->INTERNAL_FIELD (pt_marker) = val; |
| 322 | } | 322 | } |
| 323 | static inline void | 323 | static void |
| 324 | bset_right_fringe_width (struct buffer *b, Lisp_Object val) | 324 | bset_right_fringe_width (struct buffer *b, Lisp_Object val) |
| 325 | { | 325 | { |
| 326 | b->INTERNAL_FIELD (right_fringe_width) = val; | 326 | b->INTERNAL_FIELD (right_fringe_width) = val; |
| 327 | } | 327 | } |
| 328 | static inline void | 328 | static void |
| 329 | bset_save_length (struct buffer *b, Lisp_Object val) | 329 | bset_save_length (struct buffer *b, Lisp_Object val) |
| 330 | { | 330 | { |
| 331 | b->INTERNAL_FIELD (save_length) = val; | 331 | b->INTERNAL_FIELD (save_length) = val; |
| 332 | } | 332 | } |
| 333 | static inline void | 333 | static void |
| 334 | bset_scroll_bar_width (struct buffer *b, Lisp_Object val) | 334 | bset_scroll_bar_width (struct buffer *b, Lisp_Object val) |
| 335 | { | 335 | { |
| 336 | b->INTERNAL_FIELD (scroll_bar_width) = val; | 336 | b->INTERNAL_FIELD (scroll_bar_width) = val; |
| 337 | } | 337 | } |
| 338 | static inline void | 338 | static void |
| 339 | bset_scroll_down_aggressively (struct buffer *b, Lisp_Object val) | 339 | bset_scroll_down_aggressively (struct buffer *b, Lisp_Object val) |
| 340 | { | 340 | { |
| 341 | b->INTERNAL_FIELD (scroll_down_aggressively) = val; | 341 | b->INTERNAL_FIELD (scroll_down_aggressively) = val; |
| 342 | } | 342 | } |
| 343 | static inline void | 343 | static void |
| 344 | bset_scroll_up_aggressively (struct buffer *b, Lisp_Object val) | 344 | bset_scroll_up_aggressively (struct buffer *b, Lisp_Object val) |
| 345 | { | 345 | { |
| 346 | b->INTERNAL_FIELD (scroll_up_aggressively) = val; | 346 | b->INTERNAL_FIELD (scroll_up_aggressively) = val; |
| 347 | } | 347 | } |
| 348 | static inline void | 348 | static void |
| 349 | bset_selective_display (struct buffer *b, Lisp_Object val) | 349 | bset_selective_display (struct buffer *b, Lisp_Object val) |
| 350 | { | 350 | { |
| 351 | b->INTERNAL_FIELD (selective_display) = val; | 351 | b->INTERNAL_FIELD (selective_display) = val; |
| 352 | } | 352 | } |
| 353 | static inline void | 353 | static void |
| 354 | bset_selective_display_ellipses (struct buffer *b, Lisp_Object val) | 354 | bset_selective_display_ellipses (struct buffer *b, Lisp_Object val) |
| 355 | { | 355 | { |
| 356 | b->INTERNAL_FIELD (selective_display_ellipses) = val; | 356 | b->INTERNAL_FIELD (selective_display_ellipses) = val; |
| 357 | } | 357 | } |
| 358 | static inline void | 358 | static void |
| 359 | bset_vertical_scroll_bar_type (struct buffer *b, Lisp_Object val) | 359 | bset_vertical_scroll_bar_type (struct buffer *b, Lisp_Object val) |
| 360 | { | 360 | { |
| 361 | b->INTERNAL_FIELD (vertical_scroll_bar_type) = val; | 361 | b->INTERNAL_FIELD (vertical_scroll_bar_type) = val; |
| 362 | } | 362 | } |
| 363 | static inline void | 363 | static void |
| 364 | bset_word_wrap (struct buffer *b, Lisp_Object val) | 364 | bset_word_wrap (struct buffer *b, Lisp_Object val) |
| 365 | { | 365 | { |
| 366 | b->INTERNAL_FIELD (word_wrap) = val; | 366 | b->INTERNAL_FIELD (word_wrap) = val; |
| 367 | } | 367 | } |
| 368 | static inline void | 368 | static void |
| 369 | bset_zv_marker (struct buffer *b, Lisp_Object val) | 369 | bset_zv_marker (struct buffer *b, Lisp_Object val) |
| 370 | { | 370 | { |
| 371 | b->INTERNAL_FIELD (zv_marker) = val; | 371 | b->INTERNAL_FIELD (zv_marker) = val; |
| @@ -651,13 +651,13 @@ copy_overlays (struct buffer *b, struct Lisp_Overlay *list) | |||
| 651 | 651 | ||
| 652 | /* Set an appropriate overlay of B. */ | 652 | /* Set an appropriate overlay of B. */ |
| 653 | 653 | ||
| 654 | static inline void | 654 | static void |
| 655 | set_buffer_overlays_before (struct buffer *b, struct Lisp_Overlay *o) | 655 | set_buffer_overlays_before (struct buffer *b, struct Lisp_Overlay *o) |
| 656 | { | 656 | { |
| 657 | b->overlays_before = o; | 657 | b->overlays_before = o; |
| 658 | } | 658 | } |
| 659 | 659 | ||
| 660 | static inline void | 660 | static void |
| 661 | set_buffer_overlays_after (struct buffer *b, struct Lisp_Overlay *o) | 661 | set_buffer_overlays_after (struct buffer *b, struct Lisp_Overlay *o) |
| 662 | { | 662 | { |
| 663 | b->overlays_after = o; | 663 | b->overlays_after = o; |