diff options
| author | Dan Nicolaescu | 2010-07-28 22:48:06 -0700 |
|---|---|---|
| committer | Dan Nicolaescu | 2010-07-28 22:48:06 -0700 |
| commit | e6cba65065d7002d181c3d440bfc5e04ba953783 (patch) | |
| tree | d1cf831f51063d886b8cae457a40ab0286515286 /src/lisp.h | |
| parent | b27f3b2f5262ce5d4f106394988acf2e44243686 (diff) | |
| download | emacs-e6cba65065d7002d181c3d440bfc5e04ba953783.tar.gz emacs-e6cba65065d7002d181c3d440bfc5e04ba953783.zip | |
Remove extern declarations from .c files, and them to .h files.
* src/xsmfns.c (Vuser_login_name):
* src/xrdb.c (Vdouble_click_time):
* src/xfaces.c (xic_create_fontsetname):
* src/w32select.c (waiting_for_input):
* src/print.c (minibuffer_auto_raise):
* src/msdos.c (Qhelp_echo):
* src/macros.c (real_this_command):
* src/keymap.c (Voverriding_local_map):
* src/xterm.c (poll_for_input_1, gray_bitmap_width)
(gray_bitmap_height, gray_bitmap_bits;
* src/xmenu.c ( Voverriding_local_map)
(Voverriding_local_map_menu_flag; Qmenu_item; use_dialog_box)
(use_file_dialog, Xt_app_con):
* src/xdisp.c (minibuffer_auto_raise, Voverriding_local_map)
(Voverriding_local_map_menu_flag, Qmenu_item, Qface, Qinvisible)
(Qwidth, Qinvisible, Qwindow, Qpriority, Qtool_bar_lines)
(Qtool_bar_lines, ignore_mouse_drag_p):
* src/minibuf.c (Voverriding_local_map, Qfield, Qfront_sticky)
(Qrear_nonsticky, nconc2):
* src/keyboard.c (current_global_map, minibuf_level, Qmenu_item)
(Vhistory_length, Vtranslation_table_for_input, Qcomposition)
(Qdisplay, Qafter_string, Qbefore_string, Qundefined):
* src/fileio.c (use_dialog_box, use_file_dialog, Vuser_login_name)
(minibuf_level, minibuffer_auto_raise, lisp_time_argument):
* src/eval.c (Qinteractive_form, Qrisky_local_variable, Qfunction)
(gc_in_progress):
* src/doc.c (Voverriding_local_map, Qremap):
* src/dired.c (completion_ignore_case, Qcompletion_ignore_case)
(Vcompletion_regexp_list):
* src/coding.c (Qmac, Qinsert_file_contents, Qwrite_region)
(Qcompletion_ignore_case):
* src/callint.c (Qcursor_in_echo_area, Qfile_directory_p, Qonly)
(Vhistory_length, Vthis_original_command, real_this_command)
(Qface, Qminibuffer_prompt, history_delete_duplicates):
* src/image.c (Qrisky_local_variable):
* src/fontset.c (QCname):
* src/fns.c (minibuffer_auto_raise, QCname):
* src/dispnew.c (char_ins_del_cost):
* src/composite.c (font_fill_lglyph_metrics):
* src/cmds.c (Qface, Vtranslation_table_for_input):
* src/charset.c (map_char_table_for_charset, Qfile_name_handler_alist):
* src/ccl.c (charset_unicode):
* src/callproc.c (Vtemporary_file_directory):
* src/buffer.c (emacs_strerror): Remove extern declarations.
Remove extern declarations from .c files, and them to .h files.
* src/keyboard.h (Qhelp_echo, waiting_for_input)
(input_available_clear_time, ignore_mouse_drag_p)
(Vdouble_click_time, real_this_command, Vthis_original_command):
* src/keymap.h (Qremap, Qmenu_item, Voverriding_local_map)
(Voverriding_local_map_menu_flag):
* src/lisp.h (Qinteractive_form, use_file_dialog)
(Qcursor_in_echo_area, QCascent, QCmargin, QCrelief, Qcount)
(Qextension_data, QCconversion, QCcolor_symbols, QCheuristic_mask)
(QCindex, QCmatrix, QCcolor_adjustment, QCmask)
(Qrisky_local_variable, map_char_table_for_charset, Vprint_level)
(Qfunction, debug_on_next_call, Qfield)
(Vinhibit_field_text_motion, Vuser_login_name, lisp_time_argument)
(Qpriority, Qwindow, Qevaporate, Qbefore_string, Qafter_string)
(Qfile_directory_p, Qinsert_file_contents)
(Qcompletion_ignore_case, Qcompletion_ignore_case)
(Vcompletion_regexp_list, Vhistory_length, completion_ignore_case)
(history_delete_duplicates, minibuffer_auto_raise, Qonly)
(Qfile_name_handler_alist, Qfront_sticky, Qrear_nonsticky)
(Qminibuffer_prompt)
(Vtemporary_file_directory,char_ins_del_vector, Qface):
* src/xterm.h (gray_bitmap_width, gray_bitmap_height)
(gray_bitmap_bits, xic_create_fontsetname):
* src/coding.h (Vtranslation_table_for_input): Add extern declarations.
* src/data.c (Qwindow): Make non-static, used from other files too.
* src/frame.c (validate_x_resource_name): Remove shadow definition for i.
Diffstat (limited to 'src/lisp.h')
| -rw-r--r-- | src/lisp.h | 38 |
1 files changed, 36 insertions, 2 deletions
diff --git a/src/lisp.h b/src/lisp.h index b9d67c4b78e..06a8b672fba 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2269,6 +2269,7 @@ extern Lisp_Object Qinvalid_function, Qwrong_number_of_arguments, Qno_catch; | |||
| 2269 | extern Lisp_Object Qend_of_file, Qarith_error, Qmark_inactive; | 2269 | extern Lisp_Object Qend_of_file, Qarith_error, Qmark_inactive; |
| 2270 | extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only; | 2270 | extern Lisp_Object Qbeginning_of_buffer, Qend_of_buffer, Qbuffer_read_only; |
| 2271 | extern Lisp_Object Qtext_read_only; | 2271 | extern Lisp_Object Qtext_read_only; |
| 2272 | extern Lisp_Object Qinteractive_form; | ||
| 2272 | 2273 | ||
| 2273 | extern Lisp_Object Qintegerp, Qnatnump, Qwholenump, Qsymbolp, Qlistp, Qconsp; | 2274 | extern Lisp_Object Qintegerp, Qnatnump, Qwholenump, Qsymbolp, Qlistp, Qconsp; |
| 2274 | extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp; | 2275 | extern Lisp_Object Qstringp, Qarrayp, Qsequencep, Qbufferp; |
| @@ -2449,9 +2450,11 @@ extern void syms_of_syntax (void); | |||
| 2449 | 2450 | ||
| 2450 | /* Defined in fns.c */ | 2451 | /* Defined in fns.c */ |
| 2451 | extern int use_dialog_box; | 2452 | extern int use_dialog_box; |
| 2453 | extern int use_file_dialog; | ||
| 2452 | extern int next_almost_prime (int); | 2454 | extern int next_almost_prime (int); |
| 2453 | extern Lisp_Object larger_vector (Lisp_Object, int, Lisp_Object); | 2455 | extern Lisp_Object larger_vector (Lisp_Object, int, Lisp_Object); |
| 2454 | extern void sweep_weak_hash_tables (void); | 2456 | extern void sweep_weak_hash_tables (void); |
| 2457 | extern Lisp_Object Qcursor_in_echo_area; | ||
| 2455 | extern Lisp_Object Qstring_lessp; | 2458 | extern Lisp_Object Qstring_lessp; |
| 2456 | extern Lisp_Object Vfeatures; | 2459 | extern Lisp_Object Vfeatures; |
| 2457 | extern Lisp_Object QCsize, QCtest, QCweakness, Qequal, Qeq; | 2460 | extern Lisp_Object QCsize, QCtest, QCweakness, Qequal, Qeq; |
| @@ -2558,6 +2561,9 @@ extern void init_fringe (void); | |||
| 2558 | extern void init_fringe_once (void); | 2561 | extern void init_fringe_once (void); |
| 2559 | 2562 | ||
| 2560 | /* Defined in image.c */ | 2563 | /* Defined in image.c */ |
| 2564 | extern Lisp_Object QCascent, QCmargin, QCrelief, Qcount, Qextension_data; | ||
| 2565 | extern Lisp_Object QCconversion, QCcolor_symbols, QCheuristic_mask; | ||
| 2566 | extern Lisp_Object QCindex, QCmatrix, QCcolor_adjustment, QCmask; | ||
| 2561 | EXFUN (Finit_image_library, 2); | 2567 | EXFUN (Finit_image_library, 2); |
| 2562 | extern void syms_of_image (void); | 2568 | extern void syms_of_image (void); |
| 2563 | extern void init_image (void); | 2569 | extern void init_image (void); |
| @@ -2635,6 +2641,7 @@ extern Lisp_Object Qimage, Qtext, Qboth, Qboth_horiz, Qtext_image_horiz; | |||
| 2635 | extern Lisp_Object Qspace, Qcenter, QCalign_to; | 2641 | extern Lisp_Object Qspace, Qcenter, QCalign_to; |
| 2636 | extern Lisp_Object Vmessage_log_max; | 2642 | extern Lisp_Object Vmessage_log_max; |
| 2637 | extern Lisp_Object QCdata, QCfile; | 2643 | extern Lisp_Object QCdata, QCfile; |
| 2644 | extern Lisp_Object Qrisky_local_variable; | ||
| 2638 | extern int message_enable_multibyte; | 2645 | extern int message_enable_multibyte; |
| 2639 | extern Lisp_Object echo_area_buffer[2]; | 2646 | extern Lisp_Object echo_area_buffer[2]; |
| 2640 | extern void add_to_log (const char *, Lisp_Object, Lisp_Object); | 2647 | extern void add_to_log (const char *, Lisp_Object, Lisp_Object); |
| @@ -2774,10 +2781,15 @@ extern int char_table_translate (Lisp_Object, int); | |||
| 2774 | extern void map_char_table (void (*) (Lisp_Object, Lisp_Object, | 2781 | extern void map_char_table (void (*) (Lisp_Object, Lisp_Object, |
| 2775 | Lisp_Object), | 2782 | Lisp_Object), |
| 2776 | Lisp_Object, Lisp_Object, Lisp_Object); | 2783 | Lisp_Object, Lisp_Object, Lisp_Object); |
| 2784 | extern void map_char_table_for_charset (void (*c_function) (Lisp_Object, Lisp_Object), | ||
| 2785 | Lisp_Object, Lisp_Object, | ||
| 2786 | Lisp_Object, struct charset *, | ||
| 2787 | unsigned, unsigned); | ||
| 2777 | extern void syms_of_chartab (void); | 2788 | extern void syms_of_chartab (void); |
| 2778 | 2789 | ||
| 2779 | /* Defined in print.c */ | 2790 | /* Defined in print.c */ |
| 2780 | extern Lisp_Object Vprin1_to_string_buffer; | 2791 | extern Lisp_Object Vprin1_to_string_buffer; |
| 2792 | extern Lisp_Object Vprint_level; | ||
| 2781 | extern void debug_print (Lisp_Object); | 2793 | extern void debug_print (Lisp_Object); |
| 2782 | EXFUN (Fprin1, 2); | 2794 | EXFUN (Fprin1, 2); |
| 2783 | EXFUN (Fprin1_to_string, 2); | 2795 | EXFUN (Fprin1_to_string, 2); |
| @@ -2804,6 +2816,7 @@ extern int doprnt (char *, int, const char *, const char *, va_list); | |||
| 2804 | 2816 | ||
| 2805 | /* Defined in lread.c */ | 2817 | /* Defined in lread.c */ |
| 2806 | extern Lisp_Object Qvariable_documentation, Qstandard_input; | 2818 | extern Lisp_Object Qvariable_documentation, Qstandard_input; |
| 2819 | extern Lisp_Object Qfunction; | ||
| 2807 | extern Lisp_Object Vobarray, initial_obarray, Vstandard_input; | 2820 | extern Lisp_Object Vobarray, initial_obarray, Vstandard_input; |
| 2808 | EXFUN (Fread, 1); | 2821 | EXFUN (Fread, 1); |
| 2809 | EXFUN (Fread_from_string, 3); | 2822 | EXFUN (Fread_from_string, 3); |
| @@ -2845,6 +2858,7 @@ extern Lisp_Object Vautoload_queue; | |||
| 2845 | extern Lisp_Object Vdebug_on_error; | 2858 | extern Lisp_Object Vdebug_on_error; |
| 2846 | extern Lisp_Object Vsignaling_function; | 2859 | extern Lisp_Object Vsignaling_function; |
| 2847 | extern int handling_signal; | 2860 | extern int handling_signal; |
| 2861 | extern int debug_on_next_call; | ||
| 2848 | extern int interactive_p (int); | 2862 | extern int interactive_p (int); |
| 2849 | 2863 | ||
| 2850 | /* To run a normal hook, use the appropriate function from the list below. | 2864 | /* To run a normal hook, use the appropriate function from the list below. |
| @@ -2925,6 +2939,9 @@ extern void init_eval (void); | |||
| 2925 | extern void syms_of_eval (void); | 2939 | extern void syms_of_eval (void); |
| 2926 | 2940 | ||
| 2927 | /* Defined in editfns.c */ | 2941 | /* Defined in editfns.c */ |
| 2942 | extern Lisp_Object Qfield; | ||
| 2943 | extern Lisp_Object Vinhibit_field_text_motion; | ||
| 2944 | extern Lisp_Object Vuser_login_name; | ||
| 2928 | EXFUN (Fpropertize, MANY); | 2945 | EXFUN (Fpropertize, MANY); |
| 2929 | EXFUN (Fcurrent_message, 0); | 2946 | EXFUN (Fcurrent_message, 0); |
| 2930 | EXFUN (Fgoto_char, 1); | 2947 | EXFUN (Fgoto_char, 1); |
| @@ -2971,7 +2988,6 @@ extern Lisp_Object make_buffer_string (int, int, int); | |||
| 2971 | extern Lisp_Object make_buffer_string_both (int, int, int, int, int); | 2988 | extern Lisp_Object make_buffer_string_both (int, int, int, int, int); |
| 2972 | extern void init_editfns (void); | 2989 | extern void init_editfns (void); |
| 2973 | extern void syms_of_editfns (void); | 2990 | extern void syms_of_editfns (void); |
| 2974 | extern Lisp_Object Vinhibit_field_text_motion; | ||
| 2975 | EXFUN (Fconstrain_to_field, 5); | 2991 | EXFUN (Fconstrain_to_field, 5); |
| 2976 | EXFUN (Ffield_string, 1); | 2992 | EXFUN (Ffield_string, 1); |
| 2977 | EXFUN (Fdelete_field, 1); | 2993 | EXFUN (Fdelete_field, 1); |
| @@ -2979,6 +2995,7 @@ EXFUN (Ffield_beginning, 3); | |||
| 2979 | EXFUN (Ffield_end, 3); | 2995 | EXFUN (Ffield_end, 3); |
| 2980 | EXFUN (Ffield_string_no_properties, 1); | 2996 | EXFUN (Ffield_string_no_properties, 1); |
| 2981 | extern void set_time_zone_rule (const char *); | 2997 | extern void set_time_zone_rule (const char *); |
| 2998 | extern int lisp_time_argument (Lisp_Object, time_t *, int *); | ||
| 2982 | 2999 | ||
| 2983 | /* Defined in buffer.c */ | 3000 | /* Defined in buffer.c */ |
| 2984 | extern int mouse_face_overlay_overlaps (Lisp_Object); | 3001 | extern int mouse_face_overlay_overlaps (Lisp_Object); |
| @@ -3013,7 +3030,7 @@ EXFUN (Fbuffer_disable_undo, 1); | |||
| 3013 | EXFUN (Fbuffer_enable_undo, 1); | 3030 | EXFUN (Fbuffer_enable_undo, 1); |
| 3014 | EXFUN (Ferase_buffer, 0); | 3031 | EXFUN (Ferase_buffer, 0); |
| 3015 | extern Lisp_Object Qoverlayp; | 3032 | extern Lisp_Object Qoverlayp; |
| 3016 | extern Lisp_Object Qevaporate; | 3033 | extern Lisp_Object Qpriority, Qwindow, Qevaporate, Qbefore_string, Qafter_string; |
| 3017 | extern Lisp_Object get_truename_buffer (Lisp_Object); | 3034 | extern Lisp_Object get_truename_buffer (Lisp_Object); |
| 3018 | extern struct buffer *all_buffers; | 3035 | extern struct buffer *all_buffers; |
| 3019 | EXFUN (Fprevious_overlay_change, 1); | 3036 | EXFUN (Fprevious_overlay_change, 1); |
| @@ -3045,6 +3062,8 @@ extern void syms_of_marker (void); | |||
| 3045 | /* Defined in fileio.c */ | 3062 | /* Defined in fileio.c */ |
| 3046 | 3063 | ||
| 3047 | extern Lisp_Object Qfile_error; | 3064 | extern Lisp_Object Qfile_error; |
| 3065 | extern Lisp_Object Qfile_directory_p; | ||
| 3066 | extern Lisp_Object Qinsert_file_contents; | ||
| 3048 | EXFUN (Ffind_file_name_handler, 2); | 3067 | EXFUN (Ffind_file_name_handler, 2); |
| 3049 | EXFUN (Ffile_name_as_directory, 1); | 3068 | EXFUN (Ffile_name_as_directory, 1); |
| 3050 | EXFUN (Fmake_temp_name, 1); | 3069 | EXFUN (Fmake_temp_name, 1); |
| @@ -3104,7 +3123,14 @@ extern void clear_regexp_cache (void); | |||
| 3104 | 3123 | ||
| 3105 | /* Defined in minibuf.c */ | 3124 | /* Defined in minibuf.c */ |
| 3106 | 3125 | ||
| 3126 | extern Lisp_Object Qcompletion_ignore_case; | ||
| 3127 | extern Lisp_Object Qcompletion_ignore_case; | ||
| 3128 | extern Lisp_Object Vcompletion_regexp_list; | ||
| 3129 | extern Lisp_Object Vhistory_length; | ||
| 3107 | extern Lisp_Object last_minibuf_string; | 3130 | extern Lisp_Object last_minibuf_string; |
| 3131 | extern int completion_ignore_case; | ||
| 3132 | extern int history_delete_duplicates; | ||
| 3133 | extern int minibuffer_auto_raise; | ||
| 3108 | extern void choose_minibuf_frame (void); | 3134 | extern void choose_minibuf_frame (void); |
| 3109 | EXFUN (Fcompleting_read, 8); | 3135 | EXFUN (Fcompleting_read, 8); |
| 3110 | EXFUN (Fread_from_minibuffer, 7); | 3136 | EXFUN (Fread_from_minibuffer, 7); |
| @@ -3206,6 +3232,7 @@ extern void syms_of_indent (void); | |||
| 3206 | extern Lisp_Object Vx_resource_name; | 3232 | extern Lisp_Object Vx_resource_name; |
| 3207 | extern Lisp_Object Vx_resource_class; | 3233 | extern Lisp_Object Vx_resource_class; |
| 3208 | #endif /* HAVE_WINDOW_SYSTEM */ | 3234 | #endif /* HAVE_WINDOW_SYSTEM */ |
| 3235 | extern Lisp_Object Qonly; | ||
| 3209 | extern Lisp_Object Qvisible; | 3236 | extern Lisp_Object Qvisible; |
| 3210 | extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object); | 3237 | extern void store_frame_param (struct frame *, Lisp_Object, Lisp_Object); |
| 3211 | extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object); | 3238 | extern void store_in_alist (Lisp_Object *, Lisp_Object, Lisp_Object); |
| @@ -3253,6 +3280,7 @@ extern Lisp_Object Vinvocation_name, Vinvocation_directory; | |||
| 3253 | extern Lisp_Object Vbefore_init_time, Vafter_init_time; | 3280 | extern Lisp_Object Vbefore_init_time, Vafter_init_time; |
| 3254 | extern Lisp_Object Vinstallation_directory; | 3281 | extern Lisp_Object Vinstallation_directory; |
| 3255 | extern Lisp_Object empty_unibyte_string, empty_multibyte_string; | 3282 | extern Lisp_Object empty_unibyte_string, empty_multibyte_string; |
| 3283 | extern Lisp_Object Qfile_name_handler_alist; | ||
| 3256 | EXFUN (Fkill_emacs, 1) NO_RETURN; | 3284 | EXFUN (Fkill_emacs, 1) NO_RETURN; |
| 3257 | #if HAVE_SETLOCALE | 3285 | #if HAVE_SETLOCALE |
| 3258 | void fixup_locale (void); | 3286 | void fixup_locale (void); |
| @@ -3359,6 +3387,9 @@ extern Lisp_Object Vundo_outer_limit; | |||
| 3359 | /* Defined in textprop.c */ | 3387 | /* Defined in textprop.c */ |
| 3360 | extern Lisp_Object Qfont, Qmouse_face; | 3388 | extern Lisp_Object Qfont, Qmouse_face; |
| 3361 | extern Lisp_Object Qinsert_in_front_hooks, Qinsert_behind_hooks; | 3389 | extern Lisp_Object Qinsert_in_front_hooks, Qinsert_behind_hooks; |
| 3390 | extern Lisp_Object Qfront_sticky, Qrear_nonsticky; | ||
| 3391 | extern Lisp_Object Qminibuffer_prompt; | ||
| 3392 | |||
| 3362 | EXFUN (Fnext_single_property_change, 4); | 3393 | EXFUN (Fnext_single_property_change, 4); |
| 3363 | EXFUN (Fnext_single_char_property_change, 4); | 3394 | EXFUN (Fnext_single_char_property_change, 4); |
| 3364 | EXFUN (Fprevious_single_property_change, 4); | 3395 | EXFUN (Fprevious_single_property_change, 4); |
| @@ -3424,6 +3455,7 @@ extern int memcmp (void *, void *, size_t); | |||
| 3424 | #endif | 3455 | #endif |
| 3425 | 3456 | ||
| 3426 | /* Defined in filelock.c */ | 3457 | /* Defined in filelock.c */ |
| 3458 | extern Lisp_Object Vtemporary_file_directory; | ||
| 3427 | EXFUN (Funlock_buffer, 0); | 3459 | EXFUN (Funlock_buffer, 0); |
| 3428 | EXFUN (Ffile_locked_p, 1); | 3460 | EXFUN (Ffile_locked_p, 1); |
| 3429 | extern void unlock_all_files (void); | 3461 | extern void unlock_all_files (void); |
| @@ -3453,6 +3485,7 @@ extern Lisp_Object directory_files_internal (Lisp_Object, Lisp_Object, | |||
| 3453 | int, Lisp_Object); | 3485 | int, Lisp_Object); |
| 3454 | 3486 | ||
| 3455 | /* Defined in term.c */ | 3487 | /* Defined in term.c */ |
| 3488 | extern int *char_ins_del_vector; | ||
| 3456 | extern void syms_of_term (void); | 3489 | extern void syms_of_term (void); |
| 3457 | extern void fatal (const char *msgid, ...) NO_RETURN; | 3490 | extern void fatal (const char *msgid, ...) NO_RETURN; |
| 3458 | 3491 | ||
| @@ -3478,6 +3511,7 @@ EXFUN (Fx_focus_frame, 1); | |||
| 3478 | #endif | 3511 | #endif |
| 3479 | 3512 | ||
| 3480 | /* Defined in xfaces.c */ | 3513 | /* Defined in xfaces.c */ |
| 3514 | extern Lisp_Object Qface; | ||
| 3481 | extern Lisp_Object Qnormal; | 3515 | extern Lisp_Object Qnormal; |
| 3482 | extern Lisp_Object QCfamily, QCweight, QCslant, QCwidth; | 3516 | extern Lisp_Object QCfamily, QCweight, QCslant, QCwidth; |
| 3483 | extern Lisp_Object QCheight, QCsize, QCname, QCwidth, QCforeground, QCbackground; | 3517 | extern Lisp_Object QCheight, QCsize, QCname, QCwidth, QCforeground, QCbackground; |