Commit d0f4e1f5 authored by Paul Eggert's avatar Paul Eggert
Browse files

* alloc.c (check_sblock, check_string_bytes, check_string_free_list): Protoize.

parent 36372bf9
......@@ -18,6 +18,7 @@
(allocate_buffer): Don't assume sizeof (struct buffer) is a
multiple of sizeof (EMACS_INT); it need not be, if
alignof(EMACS_INT) < sizeof (EMACS_INT).
(check_sblock, check_string_bytes, check_string_free_list): Protoize.
2011-04-17 Chong Yidong <>
......@@ -1674,9 +1674,6 @@ init_strings (void)
static int check_string_bytes_count;
static void check_string_bytes (int);
static void check_sblock (struct sblock *);
......@@ -1698,8 +1695,7 @@ string_bytes (struct Lisp_String *s)
/* Check validity of Lisp strings' string_bytes member in B. */
static void
check_sblock (b)
struct sblock *b;
check_sblock (struct sblock *b)
struct sdata *from, *end, *from_end;
......@@ -1732,8 +1728,7 @@ check_sblock (b)
recently allocated strings. Used for hunting a bug. */
static void
check_string_bytes (all_p)
int all_p;
check_string_bytes (int all_p)
if (all_p)
......@@ -1761,7 +1756,7 @@ check_string_bytes (all_p)
This may catch buffer overrun from a previous string. */
static void
check_string_free_list ()
check_string_free_list (void)
struct Lisp_String *s;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment