diff options
| author | Gerd Moellmann | 2000-09-21 20:55:56 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 2000-09-21 20:55:56 +0000 |
| commit | 80d26f99bb1c9e765ac367c7d1baac8cfab82e7c (patch) | |
| tree | f43f2cc1381f6cc82985ce17cfebcc326a64add0 /src | |
| parent | 6bbd7a29592594e23e5cb98467e608f10b00f877 (diff) | |
| download | emacs-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/ChangeLog | 7 | ||||
| -rw-r--r-- | src/marker.c | 4 |
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 @@ | |||
| 1 | 2000-09-21 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-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; | |||
| 32 | static struct buffer *cached_buffer; | 32 | static struct buffer *cached_buffer; |
| 33 | static int cached_modiff; | 33 | static int cached_modiff; |
| 34 | 34 | ||
| 35 | static 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 | ||
| 37 | static int byte_debug_flag; | 39 | static int byte_debug_flag; |
| @@ -97,7 +99,7 @@ clear_charpos_cache (b) | |||
| 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; |