emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r104011: Convert some function defini


From: Dan Nicolaescu
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r104011: Convert some function definitions to standard C.
Date: Mon, 25 Apr 2011 14:36:06 -0700
User-agent: Bazaar (2.3.1)

------------------------------------------------------------
revno: 104011
committer: Dan Nicolaescu <address@hidden>
branch nick: trunk
timestamp: Mon 2011-04-25 14:36:06 -0700
message:
  Convert some function definitions to standard C.
  
  * src/alloc.c (check_sblock, check_string_bytes)
  (check_string_free_list): Convert to standard C.
modified:
  src/ChangeLog
  src/alloc.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2011-04-25 12:48:24 +0000
+++ b/src/ChangeLog     2011-04-25 21:36:06 +0000
@@ -1,3 +1,8 @@
+2011-04-25  Dan Nicolaescu  <address@hidden>
+
+       * alloc.c (check_sblock, check_string_bytes)
+       (check_string_free_list): Convert to standard C.
+
 2011-04-25  Teodor Zlatanov  <address@hidden>
 
        * w32.c (emacs_gnutls_push): Fix typo.

=== modified file 'src/alloc.c'
--- a/src/alloc.c       2011-04-16 21:47:57 +0000
+++ b/src/alloc.c       2011-04-25 21:36:06 +0000
@@ -1706,8 +1706,7 @@
 /* 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 @@
    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 @@
    This may catch buffer overrun from a previous string.  */
 
 static void
-check_string_free_list ()
+check_string_free_list (void)
 {
   struct Lisp_String *s;
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]