From 9306c32edb973b6c85ab32437332c18288528830 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Wed, 13 Apr 2011 17:42:10 -0700 Subject: [PATCH] * indent.c (val_compute_motion, val_vmotion): Now static. --- src/ChangeLog | 2 ++ src/indent.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1ede517243f..c11fd18714e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,7 @@ 2011-04-13 Paul Eggert + * indent.c (val_compute_motion, val_vmotion): Now static. + * image.c: Make symbols static if they're not exported. * dispextern.h (x_create_bitmap_from_xpm_data): Do not declare if USE_GTK. diff --git a/src/indent.c b/src/indent.c index 84476e7bbdb..5eab4f48f69 100644 --- a/src/indent.c +++ b/src/indent.c @@ -1044,7 +1044,7 @@ The return value is the current column. */) /* compute_motion: compute buffer posn given screen posn and vice versa */ -struct position val_compute_motion; +static struct position val_compute_motion; /* Scan the current buffer forward from offset FROM, pretending that this is at line FROMVPOS, column FROMHPOS, until reaching buffer @@ -1818,7 +1818,7 @@ visible section of the buffer, and pass LINE and COL as TOPOS. */) /* Fvertical_motion and vmotion */ -struct position val_vmotion; +static struct position val_vmotion; struct position * vmotion (register EMACS_INT from, register EMACS_INT vtarget, struct window *w) -- 2.39.2