From: Dan Nicolaescu Date: Mon, 25 Apr 2011 21:36:06 +0000 (-0700) Subject: Convert some function definitions to standard C. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~215^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f2d3ba6f13adac8f2fb8595f3425cb8d085bd9c4;p=emacs.git Convert some function definitions to standard C. * src/alloc.c (check_sblock, check_string_bytes) (check_string_free_list): Convert to standard C. --- 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;