aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorPaul Eggert2011-04-17 21:45:15 -0700
committerPaul Eggert2011-04-17 21:45:15 -0700
commitd0f4e1f5ac162d9c32381c65a0bc7b456e189826 (patch)
treea12bbeeeb3ebbb5b710e6c64a2e0c42b7ed9f0f6 /src/alloc.c
parent36372bf93fc75b5f85d04007268e98840d1699c5 (diff)
downloademacs-d0f4e1f5ac162d9c32381c65a0bc7b456e189826.tar.gz
emacs-d0f4e1f5ac162d9c32381c65a0bc7b456e189826.zip
* 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)
1674 1674
1675static int check_string_bytes_count; 1675static int check_string_bytes_count;
1676 1676
1677static void check_string_bytes (int);
1678static void check_sblock (struct sblock *);
1679
1680#define CHECK_STRING_BYTES(S) STRING_BYTES (S) 1677#define CHECK_STRING_BYTES(S) STRING_BYTES (S)
1681 1678
1682 1679
@@ -1698,8 +1695,7 @@ string_bytes (struct Lisp_String *s)
1698/* Check validity of Lisp strings' string_bytes member in B. */ 1695/* Check validity of Lisp strings' string_bytes member in B. */
1699 1696
1700static void 1697static void
1701check_sblock (b) 1698check_sblock (struct sblock *b)
1702 struct sblock *b;
1703{ 1699{
1704 struct sdata *from, *end, *from_end; 1700 struct sdata *from, *end, *from_end;
1705 1701
@@ -1732,8 +1728,7 @@ check_sblock (b)
1732 recently allocated strings. Used for hunting a bug. */ 1728 recently allocated strings. Used for hunting a bug. */
1733 1729
1734static void 1730static void
1735check_string_bytes (all_p) 1731check_string_bytes (int all_p)
1736 int all_p;
1737{ 1732{
1738 if (all_p) 1733 if (all_p)
1739 { 1734 {
@@ -1761,7 +1756,7 @@ check_string_bytes (all_p)
1761 This may catch buffer overrun from a previous string. */ 1756 This may catch buffer overrun from a previous string. */
1762 1757
1763static void 1758static void
1764check_string_free_list () 1759check_string_free_list (void)
1765{ 1760{
1766 struct Lisp_String *s; 1761 struct Lisp_String *s;
1767 1762