File:  [cvs.NetBSD.org] / pkgsrc / devel / xdelta / patches / Attic / patch-ac
Revision 1.1: download - view: text, annotated - select for diffs
Wed Nov 7 12:28:59 2007 UTC (17 years, 1 month ago) by rillig
Branches: 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, HEAD
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)
 

CVSweb <webmaster@jp.NetBSD.org>