summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-04-17 21:45:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-04-17 21:45:15 -0700
commitd0f4e1f5ac162d9c32381c65a0bc7b456e189826 (patch)
treea12bbeeeb3ebbb5b710e6c64a2e0c42b7ed9f0f6 /src/alloc.c
parent36372bf93fc75b5f85d04007268e98840d1699c5 (diff)
downloademacs-d0f4e1f5ac162d9c32381c65a0bc7b456e189826.tar.gz
* alloc.c (check_sblock, check_string_bytes, check_string_free_list): Protoize.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/alloc.c b/src/alloc.c
index fbc075be3be..f2aeaa938eb 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -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 *);
-
#define CHECK_STRING_BYTES(S) STRING_BYTES (S)
@@ -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;