Mercurial > emacs
comparison src/marker.c @ 31830:cf1b4094811a
Avoid some more compiler warnings.
(byte_char_debug_check): Return void.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Thu, 21 Sep 2000 20:55:34 +0000 |
parents | 4b675266db04 |
children | c0953f8a8dff |
comparison
equal
deleted
inserted
replaced
31829:43566b0aec59 | 31830:cf1b4094811a |
---|---|
29 | 29 |
30 static int cached_charpos; | 30 static int cached_charpos; |
31 static int cached_bytepos; | 31 static int cached_bytepos; |
32 static struct buffer *cached_buffer; | 32 static struct buffer *cached_buffer; |
33 static int cached_modiff; | 33 static int cached_modiff; |
34 | |
35 static void byte_char_debug_check P_ ((struct buffer *, int, int)); | |
34 | 36 |
35 /* Nonzero means enable debugging checks on byte/char correspondences. */ | 37 /* Nonzero means enable debugging checks on byte/char correspondences. */ |
36 | 38 |
37 static int byte_debug_flag; | 39 static int byte_debug_flag; |
38 | 40 |
95 return value; \ | 97 return value; \ |
96 } \ | 98 } \ |
97 } \ | 99 } \ |
98 } | 100 } |
99 | 101 |
100 int | 102 static void |
101 byte_char_debug_check (b, charpos, bytepos) | 103 byte_char_debug_check (b, charpos, bytepos) |
102 struct buffer *b; | 104 struct buffer *b; |
103 int charpos, bytepos; | 105 int charpos, bytepos; |
104 { | 106 { |
105 int nchars = 0; | 107 int nchars = 0; |