aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorDan Nicolaescu2011-04-25 14:36:06 -0700
committerDan Nicolaescu2011-04-25 14:36:06 -0700
commitf2d3ba6f13adac8f2fb8595f3425cb8d085bd9c4 (patch)
tree7db0bf65f48a43c4c9cabb713902a0e1ae08062e /src/alloc.c
parentd090ed6c781562b18042321f6780914ad84ffe2d (diff)
downloademacs-f2d3ba6f13adac8f2fb8595f3425cb8d085bd9c4.tar.gz
emacs-f2d3ba6f13adac8f2fb8595f3425cb8d085bd9c4.zip
Convert some function definitions to standard C.
* src/alloc.c (check_sblock, check_string_bytes) (check_string_free_list): Convert to standard C.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 412527b41a0..be640b6a52c 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -1706,8 +1706,7 @@ string_bytes (struct Lisp_String *s)
1706/* Check validity of Lisp strings' string_bytes member in B. */ 1706/* Check validity of Lisp strings' string_bytes member in B. */
1707 1707
1708static void 1708static void
1709check_sblock (b) 1709check_sblock (struct sblock *b)
1710 struct sblock *b;
1711{ 1710{
1712 struct sdata *from, *end, *from_end; 1711 struct sdata *from, *end, *from_end;
1713 1712
@@ -1740,8 +1739,7 @@ check_sblock (b)
1740 recently allocated strings. Used for hunting a bug. */ 1739 recently allocated strings. Used for hunting a bug. */
1741 1740
1742static void 1741static void
1743check_string_bytes (all_p) 1742check_string_bytes (int all_p)
1744 int all_p;
1745{ 1743{
1746 if (all_p) 1744 if (all_p)
1747 { 1745 {
@@ -1769,7 +1767,7 @@ check_string_bytes (all_p)
1769 This may catch buffer overrun from a previous string. */ 1767 This may catch buffer overrun from a previous string. */
1770 1768
1771static void 1769static void
1772check_string_free_list () 1770check_string_free_list (void)
1773{ 1771{
1774 struct Lisp_String *s; 1772 struct Lisp_String *s;
1775 1773