From ad9a7a06d48b0be0b1159db566c2760d951d62c1 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Apr 2011 16:38:13 -0700 Subject: [PATCH] * fringe.c (standard_bitmaps): Now static. (max_used_fringe_bitmap): Now static, unless HAVE_NS. --- src/ChangeLog | 3 +++ src/fringe.c | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index ea90a2f8057..a83bfbb2f46 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2011-04-13 Paul Eggert + * fringe.c (standard_bitmaps): Now static. + (max_used_fringe_bitmap): Now static, unless HAVE_NS. + * frame.c: Make symbols static if they're not exported. (x_report_frame_params, make_terminal_frame): Now static. (get_frame_param): Now static, unless HAVE_NS. diff --git a/src/fringe.c b/src/fringe.c index 281b563c9b7..bc6b493584c 100644 --- a/src/fringe.c +++ b/src/fringe.c @@ -427,7 +427,7 @@ static unsigned short empty_line_bits[] = { /* NOTE: The order of these bitmaps must match the sequence used in fringe.el to define the corresponding symbols. */ -struct fringe_bitmap standard_bitmaps[] = +static struct fringe_bitmap standard_bitmaps[] = { { NULL, 0, 0, 0, 0, 0 }, /* NO_FRINGE_BITMAP */ { FRBITS (question_mark_bits), 8, 0, ALIGN_BITMAP_CENTER, 0 }, @@ -462,6 +462,9 @@ static struct fringe_bitmap **fringe_bitmaps; static Lisp_Object *fringe_faces; static int max_fringe_bitmaps; +#ifndef HAVE_NS +static +#endif int max_used_fringe_bitmap = MAX_STANDARD_FRINGE_BITMAPS; -- 2.39.2