diff --git a/src/docode.c b/src/docode.c
index f527042b4716937b7ba2deb45f79cc7244181000..df32a761c587e9c251274fddfbdfe82cd1c41694 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 fbc6a1add9fe1173ab0e8d0df2e781348e0bb63e..b10d420e1feffaf4a16793b1a241d21088bd9967 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 */