diff options
| author | Paul Eggert | 2011-03-09 18:01:53 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-09 18:01:53 -0800 |
| commit | 524c7aa6108b4178ca8436db8022686d180a5ca5 (patch) | |
| tree | c0380b1b72f2650498a3770b2178657b4f0ebf49 /src | |
| parent | 58d2d479084c072255e11fbb3f03afaaa3fcdfa2 (diff) | |
| download | emacs-524c7aa6108b4178ca8436db8022686d180a5ca5.tar.gz emacs-524c7aa6108b4178ca8436db8022686d180a5ca5.zip | |
* alloc.c (mark_fringe_data): Move decl from here ...
* lisp.h (mark_fringe_data) [HAVE_WINDOW_SYSTEM]: ... to here,
to check its interface.
(init_fringe_once): Do not declare unless HAVE_WINDOW_SYSTEM.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/alloc.c | 4 | ||||
| -rw-r--r-- | src/lisp.h | 3 |
3 files changed, 8 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 719984f5038..55e003142d4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,10 @@ | |||
| 1 | 2011-03-10 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-03-10 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | * alloc.c (mark_fringe_data): Move decl from here ... | ||
| 4 | * lisp.h (mark_fringe_data) [HAVE_WINDOW_SYSTEM]: ... to here, | ||
| 5 | to check its interface. | ||
| 6 | (init_fringe_once): Do not declare unless HAVE_WINDOW_SYSTEM. | ||
| 7 | |||
| 3 | * fontset.c (free_realized_fontset): Now static. | 8 | * fontset.c (free_realized_fontset): Now static. |
| 4 | (Fset_fontset_font): Rename local to avoid shadowing. | 9 | (Fset_fontset_font): Rename local to avoid shadowing. |
| 5 | (fontset_font): Mark local as initialized. | 10 | (fontset_font): Mark local as initialized. |
diff --git a/src/alloc.c b/src/alloc.c index 8632897606a..6c92f36ca7d 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -276,10 +276,6 @@ static void gc_sweep (void); | |||
| 276 | static void mark_glyph_matrix (struct glyph_matrix *); | 276 | static void mark_glyph_matrix (struct glyph_matrix *); |
| 277 | static void mark_face_cache (struct face_cache *); | 277 | static void mark_face_cache (struct face_cache *); |
| 278 | 278 | ||
| 279 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 280 | extern void mark_fringe_data (void); | ||
| 281 | #endif /* HAVE_WINDOW_SYSTEM */ | ||
| 282 | |||
| 283 | static struct Lisp_String *allocate_string (void); | 279 | static struct Lisp_String *allocate_string (void); |
| 284 | static void compact_small_strings (void); | 280 | static void compact_small_strings (void); |
| 285 | static void free_large_strings (void); | 281 | static void free_large_strings (void); |
diff --git a/src/lisp.h b/src/lisp.h index fa8cb223a6a..113585320af 100644 --- a/src/lisp.h +++ b/src/lisp.h | |||
| @@ -2540,7 +2540,10 @@ extern Lisp_Object fmod_float (Lisp_Object x, Lisp_Object y); | |||
| 2540 | /* Defined in fringe.c */ | 2540 | /* Defined in fringe.c */ |
| 2541 | extern void syms_of_fringe (void); | 2541 | extern void syms_of_fringe (void); |
| 2542 | extern void init_fringe (void); | 2542 | extern void init_fringe (void); |
| 2543 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 2544 | extern void mark_fringe_data (void); | ||
| 2543 | extern void init_fringe_once (void); | 2545 | extern void init_fringe_once (void); |
| 2546 | #endif /* HAVE_WINDOW_SYSTEM */ | ||
| 2544 | 2547 | ||
| 2545 | /* Defined in image.c */ | 2548 | /* Defined in image.c */ |
| 2546 | extern Lisp_Object QCascent, QCmargin, QCrelief, Qcount, Qextension_data; | 2549 | extern Lisp_Object QCascent, QCmargin, QCrelief, Qcount, Qextension_data; |