From b662d900e69643175068a4ce89d8e7be843d8829 Mon Sep 17 00:00:00 2001
From: Per Hedbor <ph@opera.com>
Date: Thu, 8 May 2014 12:57:09 +0200
Subject: [PATCH] Tweak: Made a function static

---
 src/docode.c | 4 ++--
 src/docode.h | 1 -
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/docode.c b/src/docode.c
index f527042b47..df32a761c5 100644
--- a/src/docode.c
+++ b/src/docode.c
@@ -339,7 +339,7 @@ static void code_expression(node *n, int flags, char *err)
   }
 }
 
-void do_cond_jump(node *n, int label, int iftrue, int flags)
+static void do_cond_jump(node *n, int label, int iftrue, int flags)
 {
   iftrue=!!iftrue;
   if((flags & DO_POP) && node_is_tossable(n))
@@ -442,7 +442,7 @@ int generate_call_function(node *n)
   return 1;
 }
 
-static INLINE struct compiler_frame *find_local_frame(INT32 depth)
+static struct compiler_frame *find_local_frame(INT32 depth)
 {
   struct compiler_frame *f=Pike_compiler->compiler_frame;
   while(--depth>=0) f=f->previous;
diff --git a/src/docode.h b/src/docode.h
index fbc6a1add9..b10d420e1f 100644
--- a/src/docode.h
+++ b/src/docode.h
@@ -31,7 +31,6 @@ int do_jump(int token,INT32 lbl);
 void modify_stack_depth(int delta);
 void do_pop(int x);
 int do_docode(node *n, int flags);
-void do_cond_jump(node *n, int label, int iftrue, int flags);
 INT32 do_code_block(node *n);
 INT32 docode(node *n);
 /* Prototypes end here */
-- 
GitLab