From f2d3ba6f13adac8f2fb8595f3425cb8d085bd9c4 Mon Sep 17 00:00:00 2001 From: Dan Nicolaescu Date: Mon, 25 Apr 2011 14:36:06 -0700 Subject: [PATCH] Convert some function definitions to standard C. * src/alloc.c (check_sblock, check_string_bytes) (check_string_free_list): Convert to standard C. --- src/ChangeLog | 5 +++++ src/alloc.c | 8 +++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 0350d36ea06..1985cdc3768 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2011-04-25 Dan Nicolaescu + + * alloc.c (check_sblock, check_string_bytes) + (check_string_free_list): Convert to standard C. + 2011-04-25 Teodor Zlatanov * w32.c (emacs_gnutls_push): Fix typo. 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) /* 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; @@ -1740,8 +1739,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) { @@ -1769,7 +1767,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; -- 2.39.2