From edfa4bd5254b289104530a8124901cd0fa06fa3d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Henrik=20Grubbstr=C3=B6m=20=28Grubba=29?=
 <grubba@grubba.org>
Date: Tue, 3 Mar 1998 15:28:47 +0100
Subject: [PATCH] Fixed prototype. Fixed warning.

Rev: src/builtin_functions.c:1.62
---
 src/builtin_functions.c | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/src/builtin_functions.c b/src/builtin_functions.c
index c06da64deb..3a99999345 100644
--- a/src/builtin_functions.c
+++ b/src/builtin_functions.c
@@ -4,7 +4,7 @@
 ||| See the files COPYING and DISCLAIMER for more information.
 \*/
 #include "global.h"
-RCSID("$Id: builtin_functions.c,v 1.61 1998/03/03 11:24:28 hubbe Exp $");
+RCSID("$Id: builtin_functions.c,v 1.62 1998/03/03 14:28:47 grubba Exp $");
 #include "interpret.h"
 #include "svalue.h"
 #include "pike_macros.h"
@@ -673,7 +673,7 @@ void f_exit(INT32 args)
 
 #ifdef DEBUG_MALLOC
   {
-    extern cleanup_memhdrs(void);
+    extern void cleanup_memhdrs(void);
     cleanup_memhdrs();
   }
 #endif
@@ -1810,7 +1810,7 @@ static struct array* diff_longest_sequence(struct array *cmptbl)
 	    
 	    stack[pos]=dml;
 	 }
-	 else if (stack[pos]->x!=x)
+	 else if (stack[pos]->x!=x) {
 	    if (pos && 
 		stack[pos]->refs==1 &&
 		stack[pos-1]==stack[pos]->prev)
@@ -1839,6 +1839,7 @@ static struct array* diff_longest_sequence(struct array *cmptbl)
 	    
 	       stack[pos]=dml;
 	    }
+	 }
       }
    }
 
-- 
GitLab