diff options
| author | Juanma Barranquero | 2010-08-07 03:10:12 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-08-07 03:10:12 +0200 |
| commit | 0e9c8657ca938bd3cdb90824873dff539801fdbe (patch) | |
| tree | 6c2d3e3e4425edf2960441e762485f0633982c31 /src | |
| parent | 32bc67090a4a4a25cc299644b94d726c4949c7d2 (diff) | |
| download | emacs-0e9c8657ca938bd3cdb90824873dff539801fdbe.tar.gz emacs-0e9c8657ca938bd3cdb90824873dff539801fdbe.zip | |
Remove duplicate declarations.
* lib-src/ebrowse.c (usage, version, mark_virtual)
* src/alloc.c (lisp_malloc)
* src/buffer.c (set_buffer_internal, set_buffer_internal_1)
* src/charset.h (emacs_mule_charset)
* src/dispextern.h (inhibit_free_realized_faces, redraw_frame)
(redraw_garbaged_frames, scroll_cost, update_frame, scrolling)
(bitch_at_user)
* src/lisp.h (Fcheck_coding_system, Fget_text_property)
(Qfunction, Qcompletion_ignore_case, QCwidth, QCsize)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 12 | ||||
| -rw-r--r-- | src/alloc.c | 1 | ||||
| -rw-r--r-- | src/buffer.c | 2 | ||||
| -rw-r--r-- | src/charset.h | 2 | ||||
| -rw-r--r-- | src/dispextern.h | 7 | ||||
| -rw-r--r-- | src/lisp.h | 8 |
6 files changed, 14 insertions, 18 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 509ed3e7ea1..09a0f73e757 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2010-08-07 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * alloc.c (lisp_malloc): | ||
| 4 | * buffer.c (set_buffer_internal, set_buffer_internal_1): | ||
| 5 | * charset.h (emacs_mule_charset): | ||
| 6 | * dispextern.h (inhibit_free_realized_faces, redraw_frame) | ||
| 7 | (redraw_garbaged_frames, scroll_cost, update_frame, scrolling) | ||
| 8 | (bitch_at_user): | ||
| 9 | * lisp.h (Fcheck_coding_system, Fget_text_property) | ||
| 10 | (Qfunction, Qcompletion_ignore_case, QCwidth, QCsize): | ||
| 11 | Remove duplicate declarations. | ||
| 12 | |||
| 1 | 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu> | 13 | 2010-08-06 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 14 | ||
| 3 | * process.c: Simplify include logic. | 15 | * process.c: Simplify include logic. |
diff --git a/src/alloc.c b/src/alloc.c index 2ddec3dbe48..473c5622ab3 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -448,7 +448,6 @@ static void *min_heap_address, *max_heap_address; | |||
| 448 | static struct mem_node mem_z; | 448 | static struct mem_node mem_z; |
| 449 | #define MEM_NIL &mem_z | 449 | #define MEM_NIL &mem_z |
| 450 | 450 | ||
| 451 | static POINTER_TYPE *lisp_malloc (size_t, enum mem_type); | ||
| 452 | static struct Lisp_Vector *allocate_vectorlike (EMACS_INT); | 451 | static struct Lisp_Vector *allocate_vectorlike (EMACS_INT); |
| 453 | static void lisp_free (POINTER_TYPE *); | 452 | static void lisp_free (POINTER_TYPE *); |
| 454 | static void mark_stack (void); | 453 | static void mark_stack (void); |
diff --git a/src/buffer.c b/src/buffer.c index 6f41b36b92f..7d42489dd30 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -106,8 +106,6 @@ static char buffer_permanent_local_flags[MAX_PER_BUFFER_VARS]; | |||
| 106 | int last_per_buffer_idx; | 106 | int last_per_buffer_idx; |
| 107 | 107 | ||
| 108 | EXFUN (Fset_buffer, 1); | 108 | EXFUN (Fset_buffer, 1); |
| 109 | void set_buffer_internal (struct buffer *b); | ||
| 110 | void set_buffer_internal_1 (struct buffer *b); | ||
| 111 | static void call_overlay_mod_hooks (Lisp_Object list, Lisp_Object overlay, | 109 | static void call_overlay_mod_hooks (Lisp_Object list, Lisp_Object overlay, |
| 112 | int after, Lisp_Object arg1, | 110 | int after, Lisp_Object arg1, |
| 113 | Lisp_Object arg2, Lisp_Object arg3); | 111 | Lisp_Object arg2, Lisp_Object arg3); |
diff --git a/src/charset.h b/src/charset.h index 095dcefe15b..dbe9c776a0d 100644 --- a/src/charset.h +++ b/src/charset.h | |||
| @@ -517,8 +517,6 @@ extern int iso_charset_table[ISO_MAX_DIMENSION][ISO_MAX_CHARS][ISO_MAX_FINAL]; | |||
| 517 | #define EMACS_MULE_LEADING_CODE_PRIVATE_21 0x9C /* 2/2 */ | 517 | #define EMACS_MULE_LEADING_CODE_PRIVATE_21 0x9C /* 2/2 */ |
| 518 | #define EMACS_MULE_LEADING_CODE_PRIVATE_22 0x9D /* 2/2 */ | 518 | #define EMACS_MULE_LEADING_CODE_PRIVATE_22 0x9D /* 2/2 */ |
| 519 | 519 | ||
| 520 | extern struct charset *emacs_mule_charset[256]; | ||
| 521 | |||
| 522 | 520 | ||
| 523 | 521 | ||
| 524 | extern Lisp_Object Qcharsetp; | 522 | extern Lisp_Object Qcharsetp; |
diff --git a/src/dispextern.h b/src/dispextern.h index dba0d067326..5461e9ff496 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -2430,7 +2430,6 @@ struct it | |||
| 2430 | 2430 | ||
| 2431 | #define PRODUCE_GLYPHS(IT) \ | 2431 | #define PRODUCE_GLYPHS(IT) \ |
| 2432 | do { \ | 2432 | do { \ |
| 2433 | extern int inhibit_free_realized_faces; \ | ||
| 2434 | if ((IT)->glyph_row != NULL && (IT)->bidi_p) \ | 2433 | if ((IT)->glyph_row != NULL && (IT)->bidi_p) \ |
| 2435 | { \ | 2434 | { \ |
| 2436 | if ((IT)->bidi_it.paragraph_dir == R2L) \ | 2435 | if ((IT)->bidi_it.paragraph_dir == R2L) \ |
| @@ -3243,15 +3242,9 @@ void clear_glyph_row (struct glyph_row *); | |||
| 3243 | void prepare_desired_row (struct glyph_row *); | 3242 | void prepare_desired_row (struct glyph_row *); |
| 3244 | int line_hash_code (struct glyph_row *); | 3243 | int line_hash_code (struct glyph_row *); |
| 3245 | void set_window_update_flags (struct window *, int); | 3244 | void set_window_update_flags (struct window *, int); |
| 3246 | void redraw_frame (struct frame *); | ||
| 3247 | void redraw_garbaged_frames (void); | ||
| 3248 | int scroll_cost (struct frame *, int, int, int); | ||
| 3249 | int update_frame (struct frame *, int, int); | ||
| 3250 | void update_single_window (struct window *, int); | 3245 | void update_single_window (struct window *, int); |
| 3251 | int scrolling (struct frame *); | ||
| 3252 | void do_pending_window_change (int); | 3246 | void do_pending_window_change (int); |
| 3253 | void change_frame_size (struct frame *, int, int, int, int, int); | 3247 | void change_frame_size (struct frame *, int, int, int, int, int); |
| 3254 | void bitch_at_user (void); | ||
| 3255 | void init_display (void); | 3248 | void init_display (void); |
| 3256 | void syms_of_display (void); | 3249 | void syms_of_display (void); |
| 3257 | extern Lisp_Object Qredisplay_dont_pause; | 3250 | extern Lisp_Object Qredisplay_dont_pause; |
diff --git a/src/lisp.h b/src/lisp.h index b529c76d5b5..218c6e630fc 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2395,7 +2395,6 @@ EXFUN (Fcoding_system_p, 1); | |||
| 2395 | EXFUN (Fcoding_system_base, 1); | 2395 | EXFUN (Fcoding_system_base, 1); |
| 2396 | EXFUN (Fcoding_system_eol_type, 1); | 2396 | EXFUN (Fcoding_system_eol_type, 1); |
| 2397 | EXFUN (Fcheck_coding_system, 1); | 2397 | EXFUN (Fcheck_coding_system, 1); |
| 2398 | EXFUN (Fcheck_coding_system, 1); | ||
| 2399 | EXFUN (Fread_coding_system, 2); | 2398 | EXFUN (Fread_coding_system, 2); |
| 2400 | EXFUN (Fread_non_nil_coding_system, 1); | 2399 | EXFUN (Fread_non_nil_coding_system, 1); |
| 2401 | EXFUN (Ffind_operation_coding_system, MANY); | 2400 | EXFUN (Ffind_operation_coding_system, MANY); |
| @@ -2822,7 +2821,6 @@ extern int doprnt (char *, int, const char *, const char *, va_list); | |||
| 2822 | /* Defined in lread.c */ | 2821 | /* Defined in lread.c */ |
| 2823 | extern Lisp_Object Vafter_load_alist; | 2822 | extern Lisp_Object Vafter_load_alist; |
| 2824 | extern Lisp_Object Qvariable_documentation, Qstandard_input; | 2823 | extern Lisp_Object Qvariable_documentation, Qstandard_input; |
| 2825 | extern Lisp_Object Qfunction; | ||
| 2826 | extern Lisp_Object Qbackquote, Qcomma, Qcomma_at, Qcomma_dot, Qfunction; | 2824 | extern Lisp_Object Qbackquote, Qcomma, Qcomma_at, Qcomma_dot, Qfunction; |
| 2827 | extern Lisp_Object Vobarray, initial_obarray, Vstandard_input; | 2825 | extern Lisp_Object Vobarray, initial_obarray, Vstandard_input; |
| 2828 | extern int load_in_progress; | 2826 | extern int load_in_progress; |
| @@ -3135,7 +3133,6 @@ extern void clear_regexp_cache (void); | |||
| 3135 | /* Defined in minibuf.c */ | 3133 | /* Defined in minibuf.c */ |
| 3136 | 3134 | ||
| 3137 | extern Lisp_Object Qcompletion_ignore_case; | 3135 | extern Lisp_Object Qcompletion_ignore_case; |
| 3138 | extern Lisp_Object Qcompletion_ignore_case; | ||
| 3139 | extern Lisp_Object Vcompletion_regexp_list; | 3136 | extern Lisp_Object Vcompletion_regexp_list; |
| 3140 | extern Lisp_Object Vhistory_length; | 3137 | extern Lisp_Object Vhistory_length; |
| 3141 | extern Lisp_Object Vminibuffer_list; | 3138 | extern Lisp_Object Vminibuffer_list; |
| @@ -3417,7 +3414,6 @@ EXFUN (Fnext_single_char_property_change, 4); | |||
| 3417 | EXFUN (Fprevious_single_property_change, 4); | 3414 | EXFUN (Fprevious_single_property_change, 4); |
| 3418 | EXFUN (Fget_text_property, 3); | 3415 | EXFUN (Fget_text_property, 3); |
| 3419 | EXFUN (Fput_text_property, 5); | 3416 | EXFUN (Fput_text_property, 5); |
| 3420 | EXFUN (Fget_text_property, 3); | ||
| 3421 | EXFUN (Fprevious_char_property_change, 2); | 3417 | EXFUN (Fprevious_char_property_change, 2); |
| 3422 | EXFUN (Fnext_char_property_change, 2); | 3418 | EXFUN (Fnext_char_property_change, 2); |
| 3423 | extern void report_interval_modification (Lisp_Object, Lisp_Object); | 3419 | extern void report_interval_modification (Lisp_Object, Lisp_Object); |
| @@ -3540,8 +3536,8 @@ extern Lisp_Object Qheader_line, Qscroll_bar, Qcursor, Qborder, Qmouse, Qmenu; | |||
| 3540 | extern Lisp_Object Qmode_line_inactive, Qvertical_border; | 3536 | extern Lisp_Object Qmode_line_inactive, Qvertical_border; |
| 3541 | extern Lisp_Object Qface; | 3537 | extern Lisp_Object Qface; |
| 3542 | extern Lisp_Object Qnormal; | 3538 | extern Lisp_Object Qnormal; |
| 3543 | extern Lisp_Object QCfamily, QCweight, QCslant, QCwidth; | 3539 | extern Lisp_Object QCfamily, QCweight, QCslant; |
| 3544 | extern Lisp_Object QCheight, QCsize, QCname, QCwidth, QCforeground, QCbackground; | 3540 | extern Lisp_Object QCheight, QCname, QCwidth, QCforeground, QCbackground; |
| 3545 | extern Lisp_Object Vface_alternative_font_family_alist; | 3541 | extern Lisp_Object Vface_alternative_font_family_alist; |
| 3546 | extern Lisp_Object Vface_font_rescale_alist; | 3542 | extern Lisp_Object Vface_font_rescale_alist; |
| 3547 | extern Lisp_Object Vface_ignored_fonts; | 3543 | extern Lisp_Object Vface_ignored_fonts; |