aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-09-21 20:55:56 +0000
committerGerd Moellmann2000-09-21 20:55:56 +0000
commit80d26f99bb1c9e765ac367c7d1baac8cfab82e7c (patch)
treef43f2cc1381f6cc82985ce17cfebcc326a64add0 /src
parent6bbd7a29592594e23e5cb98467e608f10b00f877 (diff)
downloademacs-80d26f99bb1c9e765ac367c7d1baac8cfab82e7c.tar.gz
emacs-80d26f99bb1c9e765ac367c7d1baac8cfab82e7c.zip
Avoid some more compiler warnings.
(byte_char_debug_check): Return void.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/marker.c4
2 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a97d314f674..a1a56209a05 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,12 @@
12000-09-21 Gerd Moellmann <gerd@gnu.org> 12000-09-21 Gerd Moellmann <gerd@gnu.org>
2 2
3 * window.c, term.c, xmenu.c, xrdb.c, emacs.c, macros.c,
4 * keymap.c, insdel.c, marker.c, minibuf.c, fileio.c, dired.c,
5 * indent.c, search.c, alloc.c, data.c: Avoid some more compiler
6 warnings.
7
8 * marker.c (byte_char_debug_check): Return void.
9
3 * xfns.c (Fx_create_frame): Set default frame parameter value 10 * xfns.c (Fx_create_frame): Set default frame parameter value
4 for tool-bar-lines to 1. 11 for tool-bar-lines to 1.
5 12
diff --git a/src/marker.c b/src/marker.c
index 5b01738cf9d..b3f9e0b4b84 100644
--- a/src/marker.c
+++ b/src/marker.c
@@ -32,6 +32,8 @@ static int cached_bytepos;
32static struct buffer *cached_buffer; 32static struct buffer *cached_buffer;
33static int cached_modiff; 33static int cached_modiff;
34 34
35static void byte_char_debug_check P_ ((struct buffer *, int, int));
36
35/* Nonzero means enable debugging checks on byte/char correspondences. */ 37/* Nonzero means enable debugging checks on byte/char correspondences. */
36 38
37static int byte_debug_flag; 39static int byte_debug_flag;
@@ -97,7 +99,7 @@ clear_charpos_cache (b)
97 } \ 99 } \
98} 100}
99 101
100int 102static void
101byte_char_debug_check (b, charpos, bytepos) 103byte_char_debug_check (b, charpos, bytepos)
102 struct buffer *b; 104 struct buffer *b;
103 int charpos, bytepos; 105 int charpos, bytepos;