1. 14 Apr, 2011 11 commits
    • Paul Eggert's avatar
      * process.c: Make symbols static if they're not exported. · 40ccffa6
      Paul Eggert authored
      (process_tick, update_tick, create_process, chan_process):
      (Vprocess_alist, proc_buffered_char, datagram_access):
      (fd_callback_data, send_process_frame, process_sent_to): Now static.
      (deactivate_process): Mark defn as static, as well as decl.
      * lisp.h (create_process): Remove decl.
      * process.h (chan_process, Vprocess_alist): Remove decls.
      40ccffa6
    • Paul Eggert's avatar
      * print.c: Make symbols static if they're not exported. · ad64fc97
      Paul Eggert authored
      (print_depth, new_backquote_output, being_printed, print_buffer):
      (print_buffer_size, print_buffer_pos, print_buffer_pos_byte):
      (print_interval, print_number_index, initial_stderr_stream):
      Now static.
      * lisp.h (Fprinc): Remove decl.
      (debug_output_compilation_hack): Mark as externally visible.
      ad64fc97
    • Paul Eggert's avatar
      * sysdep.c (croak): Move decl from here to syssignal.h. · adddb265
      Paul Eggert authored
      * syssignal.h (croak): Put it here, so the API can be checked when
      'croak' is called from dissociate_if_controlling_tty.
      adddb265
    • Paul Eggert's avatar
      * minibuf.c: Make symbols static if they're not exported. · 1717ede2
      Paul Eggert authored
      (minibuf_save_list, choose_minibuf_frame): Now static.
      * lisp.h (choose_minibuf_frame): Remove decl.
      1717ede2
    • Paul Eggert's avatar
    • Paul Eggert's avatar
      * lread.c: Make symbols static if they're not exported. · 1e3890d1
      Paul Eggert authored
      (read_objects, initial_obarray, oblookup_last_bucket_number):
      Now static.
      (make_symbol): Remove; unused.
      * lisp.h (initial_obarray, make_symbol): Remove decls.
      1e3890d1
    • Paul Eggert's avatar
      * keyboard.c: Make symbols static if they're not exported. · 8a1414fa
      Paul Eggert authored
      (single_kboard, recent_keys_index, total_keys, recent_keys):
      (this_command_key_count_reset, raw_keybuf, raw_keybuf_count):
      (this_single_command_key_start, echoing, last_auto_save):
      (read_key_sequence_cmd, dribble, recursive_edit_unwind):
      (command_loop, echo_now, keyboard_init_hook, help_char_p):
      (quit_throw_to_read_char, command_loop_2, top_level_1, poll_timer):
      (Vlispy_mouse_stem, double_click_count):
      Now static.
      (force_auto_save_soon): Define only if SIGDANGER.
      (ignore_mouse_drag_p): Now static if
      !defined HAVE_WINDOW_SYSTEM || defined USE_GTK || defined HAVE_NS.
      (print_help): Remove; unused.
      (stop_character, last_timer_event): Mark as externally visible.
      * keyboard.h (ignore_mouse_drag_p): Declare only if
      defined HAVE_WINDOW_SYSTEM && !defined USE_GTK && !defined HAVE_NS.
      (echo_now, help_char_p, quit_throw_to_read_char): Remove decls.
      * lisp.h (echoing): Remove decl.
      (force_auto_save_soon): Declare only if SIGDANGER.
      * xdisp.c (redisplay_window): Simplify code, to make it more
      obvious that ignore_mouse_drag_p is not accessed if !defined
      USE_GTK && !defined HAVE_NS.
      8a1414fa
    • Paul Eggert's avatar
      * intervals.c: Make symbols static if they're not exported. · 93ea6e8f
      Paul Eggert authored
      (merge_properties_sticky, merge_interval_right, delete_interval):
      Now static.
      * intervals.h (merge_interval_right, delete_interval): Remove decls.
      93ea6e8f
    • Paul Eggert's avatar
      4889fc82
    • Paul Eggert's avatar
      * insdel.c: Make symbols static if they're not exported. · 77382fcc
      Paul Eggert authored
      However, leave prepare_to_modify_buffer alone.  It's never
      called from outside this function, but that appears to be a bug.
      (combine_after_change_list, combine_after_change_buffer):
      (adjust_after_replace): Now static.
      (adjust_after_replace_noundo): Remove; unused.
      * lisp.h (adjust_after_replace, adjust_after_replace_noundo):
      Remove decls.
      77382fcc
    • Paul Eggert's avatar
      9306c32e
  2. 13 Apr, 2011 10 commits
    • Paul Eggert's avatar
      * image.c: Make symbols static if they're not exported. · cd44d2eb
      Paul Eggert authored
      * dispextern.h (x_create_bitmap_from_xpm_data): Do not declare
      if USE_GTK.
      * image.c (x_create_bitmap_from_xpm_data): Do not define if USE_GTK.
      (xpm_color_cache, ct_table, ct_colors_allocated): Now static.
      cd44d2eb
    • Paul Eggert's avatar
      * fringe.c (standard_bitmaps): Now static. · ad9a7a06
      Paul Eggert authored
      (max_used_fringe_bitmap): Now static, unless HAVE_NS.
      ad9a7a06
    • Paul Eggert's avatar
      * frame.c: Make symbols static if they're not exported. · 81626931
      Paul Eggert authored
      (x_report_frame_params, make_terminal_frame): Now static.
      (get_frame_param): Now static, unless HAVE_NS.
      (x_fullscreen_adjust): Define if WINDOWSNT, not if HAVE_WINDOW_SYSTEM.
      (x_get_resource_string): Remove; not used.
      * frame.h (make_terminal_frame, x_report_frame_params):
      (x_get_resource_string); Remove decls.
      (x_fullscreen_adjust): Declare only if WINDOWSNT.
      * lisp.h (get_frame_param): Declare only if HAVE_NS.
      81626931
    • Paul Eggert's avatar
      * font.c, fontset.c: Make symbols static if they're not exported. · 239f9db9
      Paul Eggert authored
      * dispextern.h (FACE_SUITABLE_FOR_ASCII_CHAR_P): New macro.
      (FACE_SUITABLE_FOR_CHAR_P): Use it.
      * font.c (font_close_object): Now static.
      * font.h (font_close_object): Remove.
      * fontset.c (FONTSET_OBJLIST): Remove.
      (free_realized_fontset) #if-0 the body, which does nothing.
      (face_suitable_for_char_p): #if-0, as it's never called.
      * fontset.h (face_suitable_for_char_p): Remove decl.
      * xfaces.c (face_at_string_position): Use
      FACE_SUITABLE_FOR_ASCII_CHAR_P, not FACE_SUITABLE_FOR_CHAR_P,
      since 0 is always ASCII.
      239f9db9
    • Paul Eggert's avatar
      * fns.c (weak_hash_tables): Now static. · dfcf3579
      Paul Eggert authored
      dfcf3579
    • Paul Eggert's avatar
      * fileio.c: Make symbols static if they're not exported. · 5045092b
      Paul Eggert authored
      (auto_saving, auto_save_mode_bits, auto_save_error_occurred):
      (Vwrite_region_annotation_buffers): Now static.
      5045092b
    • Paul Eggert's avatar
      * eval.c: Make symbols static if they're not exported. · 57a96f5c
      Paul Eggert authored
      (backtrace_list, lisp_eval_depth, when_entered_debugger): Now static.
      * lisp.h (backtrace_list): Remove decl.
      57a96f5c
    • Paul Eggert's avatar
      * emacs.c: Make symbols static if they're not exported. · 35f08c38
      Paul Eggert authored
      (malloc_state_ptr, malloc_using_checking, syms_of_emacs):
      (fatal_error_code, fatal_error_signal_hook, standard_args):
      Now static.
      (fatal_error_signal): Now static, unless FLOAT_CATCH_SIGKILL.
      (DEFINE_DUMMY_FUNCTION): Mark function as externally visible.
      (__CTOR_LIST__, __DTOR_LIST__): Now externally visible.
      * lisp.h (fatal_error_signal_hook): Remove decl.
      (fatal_error_signal): Declare only if FLOAT_CATCH_SIGKILL.
      35f08c38
    • Paul Eggert's avatar
      * editfns.c: Move a (normally-unused) function to its only use. · f44bd759
      Paul Eggert authored
      * editfns.c, lisp.h (get_operating_system_release): Remove.
      * process.c (init_process) [DARWIN_OS]: Do it inline, as it is not
      worth the hassle of breaking this out.
      f44bd759
    • Paul Eggert's avatar
      * xterm.c: Make symbols static if they're not exported. · b532497d
      Paul Eggert authored
      (x_raise_frame, x_lower_frame, x_wm_set_window_state):
      (x_wm_set_icon_pixmap, x_initialize, XTread_socket_fake_io_error):
      (x_destroy_window, x_delete_display):
      Now static.
      (x_dispatch_event): Now static if ! (USE_MOTIF || USE_X_TOOLKIT).
      (x_mouse_leave): Remove; unused.
      * xterm.h (x_display_info_for_name, x_raise_frame, x_lower_frame):
      (x_destroy_window, x_wm_set_window_state, x_wm_set_icon_pixmap):
      (x_delete_display, x_initialize, x_set_border_pixel, x_screen_planes):
      Remove decls.
      (x_mouse_leave): Declare only if WINDOWSNT.
      (x_dispatch_event): Declare only if USE_MOTIF or USE_X_TOOLKIT.
      (xic_create_fontsetname): Declare only if HAVE_X_WINDOWS &&
      USE_X_TOOLKIT.
      b532497d
  3. 12 Apr, 2011 7 commits
    • Paul Eggert's avatar
      * ftxfont.c: Make symbols static if they're not exported. · 1675728f
      Paul Eggert authored
      (ftxfont_driver): Export only if !defined HAVE_XFT && def8ined
      HAVE_FREETYPE.
      * font.h (ftxfont_driver): Likewise.
      1675728f
    • Paul Eggert's avatar
      * xfns.c: Make symbols static if they're not exported. · e4cebfca
      Paul Eggert authored
      (x_last_font_name, x_display_info_for_name):
      (x_set_foreground_color, x_set_background_color, x_set_mouse_color):
      (x_set_cursor_color, x_set_border_pixel, x_set_border_color):
      (x_set_cursor_type, x_set_icon_type, x_set_icon_name):
      (x_set_scroll_bar_foreground, x_set_scroll_bar_background):
      (x_explicitly_set_name, x_set_title, xic_defaut_fontset, tip_timer):
      (last_show_tip_args): Now static.
      (xic_defaut_fontset, xic_create_fontsetname): Define only if
      defined HAVE_X_WINDOWS && defined USE_X_TOOLKIT
      (x_screen_planes): Remove; unused.
      * dispextern.h (x_screen_planes): Remove decl.
      e4cebfca
    • Paul Eggert's avatar
      * dispnew.c: Make symbols static if they're not exported. · 5bf46f05
      Paul Eggert authored
      * dispextern.h (redraw_garbaged_frames, scrolling):
      (increment_row_positions): Remove.
      * dispnew.c (new_glyph_matrix, increment_row_positions, scrolling):
      (delayed_size_change, glyph_matrix_count, glyph_pool_count):
      Now static.
      (redraw_garbaged_frames): Remove; unused.
      5bf46f05
    • Paul Eggert's avatar
      * xfaces.c: Make symbols static if they're not exported. · 435f4c28
      Paul Eggert authored
      * dispextern.h (ascii_face_of_lisp_face, free_realized_face):
      Remove decls.
      * xterm.h (defined_color): Remove decls.
      (x_free_dpy_colors): Declare only if USE_X_TOOLKIT.
      * xfaces.c (tty_suppress_bold_inverse_default_colors_p):
      (menu_face_changed_default, defined_color, free_realized_face):
      (x_free_dpy_colors): Define only if USE_X_TOOLKIT.
      (ascii_face_of_lisp_face): Remove; unused.
      435f4c28
    • Paul Eggert's avatar
      * xdisp.c: Make symbols static if they're not exported. · 8524aef3
      Paul Eggert authored
      * dispextern.h (scratch_glyph_row, window_box_edges):
      (glyph_to_pixel_coords, set_cursor_from_row):
      (get_next_display_element, set_iterator_to_next):
      (highlight_trailing_whitespace, frame_to_window_pixel_xy):
      (show_mouse_face): Remove decls
      * frame.h (message_buf_print): Likewise.
      * lisp.h (pop_message, set_message, check_point_in_composition):
      Likewise.
      * xterm.h (set_vertical_scroll_bar): Likewise.
      * xdisp.c (list_of_error, Vmessage_stack, line_number_displayed):
      (message_buf_print, scratch_glyph_row, displayed_buffer):
      (set_iterator_to_next, pop_message, set_message, set_cursor_from_row):
      (get_next_display_element, show_mouse_face, window_box_edges):
      (frame_to_window_pixel_xy, check_point_in_composition):
      (set_vertical_scroll_bar, highlight_trailing_whitespace): Now static.
      (glyph_to_pixel_coords): Remove; unused.
      8524aef3
    • Paul Eggert's avatar
      * dired.c (file_name_completion): Now static. · 16390cd2
      Paul Eggert authored
      * dbusbind.c (xd_in_read_queued_messages): Now static.
      16390cd2
    • Paul Eggert's avatar
      * lisp.h (circular_list_error, FOREACH): Remove; unused. · a25f4dfa
      Paul Eggert authored
      * data.c (circular_list_error): Remove.
      a25f4dfa
  4. 11 Apr, 2011 12 commits