From 5855d85c38f90680524a09defb157cc13e45b896 Mon Sep 17 00:00:00 2001 From: Martin Stjernholm <mast@lysator.liu.se> Date: Wed, 2 Aug 2006 22:53:55 +0200 Subject: [PATCH] pack mustn't be static since it's used directly from the png module when building statically. Rev: src/modules/Gz/zlibmod.c:1.74 --- src/modules/Gz/zlibmod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/modules/Gz/zlibmod.c b/src/modules/Gz/zlibmod.c index 8b989b1866..983334800f 100644 --- a/src/modules/Gz/zlibmod.c +++ b/src/modules/Gz/zlibmod.c @@ -2,7 +2,7 @@ || This file is part of Pike. For copyright information see COPYRIGHT. || Pike is distributed under GPL, LGPL and MPL. See the file COPYING || for more information. -|| $Id: zlibmod.c,v 1.73 2006/08/02 16:19:08 nilsson Exp $ +|| $Id: zlibmod.c,v 1.74 2006/08/02 20:53:55 mast Exp $ */ #include "global.h" @@ -219,8 +219,8 @@ static void free_pack(struct zipper *z) toss_buffer((dynamic_buffer *)z->gz.opaque); } -static void pack(struct pike_string *data, dynamic_buffer *buf, - int level, int strategy, int wbits) +void pack(struct pike_string *data, dynamic_buffer *buf, + int level, int strategy, int wbits) { struct zipper z; ONERROR err; -- GitLab