[BACK]Return to patch-ac CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / xdelta / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / xdelta / patches / Attic / patch-ac (download)

Revision 1.1, Wed Nov 7 12:28:59 2007 UTC (16 years, 3 months ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2008Q3-base, pkgsrc-2008Q3, pkgsrc-2008Q2-base, pkgsrc-2008Q2, pkgsrc-2008Q1-base, pkgsrc-2008Q1, pkgsrc-2007Q4-base, pkgsrc-2007Q4, cwrapper, cube-native-xorg-base, cube-native-xorg

Fixed gcc4 error messages.

$NetBSD: patch-ac,v 1.1 2007/11/07 12:28:59 rillig Exp $

xdmain.c:1390: error: static declaration of 'xd_handle_table' follows non-static declaration

--- xdmain.c.orig	1999-04-10 02:56:00.000000000 +0200
+++ xdmain.c	2007-11-07 13:26:28.000000000 +0100
@@ -49,7 +49,7 @@
 
 #include "xdelta.h"
 
-extern HandleFuncTable xd_handle_table;
+static HandleFuncTable xd_handle_table;
 
 #define XD_PAGE_SIZE (1<<20)