diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 11 |
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 | ||
| 1675 | static int check_string_bytes_count; | 1675 | static int check_string_bytes_count; |
| 1676 | 1676 | ||
| 1677 | static void check_string_bytes (int); | ||
| 1678 | static 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 | ||
| 1700 | static void | 1697 | static void |
| 1701 | check_sblock (b) | 1698 | check_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 | ||
| 1734 | static void | 1730 | static void |
| 1735 | check_string_bytes (all_p) | 1731 | check_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 | ||
| 1763 | static void | 1758 | static void |
| 1764 | check_string_free_list () | 1759 | check_string_free_list (void) |
| 1765 | { | 1760 | { |
| 1766 | struct Lisp_String *s; | 1761 | struct Lisp_String *s; |
| 1767 | 1762 | ||