Declare some symbols static in twofish.c (for details see lib/11458).

Patch provided by Olaf Seibert.
Bump version number to 1.0.4nb1.
This commit is contained in:
wiz 2000-11-12 14:28:48 +00:00
parent 434ddde3d9
commit 3266297597
3 changed files with 25 additions and 2 deletions

View file

@ -1,8 +1,9 @@
# $NetBSD: Makefile,v 1.17 2000/11/10 02:35:02 wiz Exp $ # $NetBSD: Makefile,v 1.18 2000/11/12 14:28:48 wiz Exp $
# FreeBSD Id: Makefile,v 1.20 1997/08/27 13:06:01 ache Exp # FreeBSD Id: Makefile,v 1.20 1997/08/27 13:06:01 ache Exp
# #
DISTNAME= gnupg-1.0.4 DISTNAME= gnupg-1.0.4
PKGNAME= ${DISTNAME}nb1
CATEGORIES= security CATEGORIES= security
MASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/gnupg/ MASTER_SITES= ftp://ftp.gnupg.org/pub/gcrypt/gnupg/

View file

@ -1,3 +1,4 @@
$NetBSD: patch-sum,v 1.8 2000/11/10 02:35:02 wiz Exp $ $NetBSD: patch-sum,v 1.9 2000/11/12 14:28:48 wiz Exp $
MD5 (patch-aa) = 4fe53ce94604cb81a997dfe571550308 MD5 (patch-aa) = 4fe53ce94604cb81a997dfe571550308
MD5 (patch-ab) = 8e1056e7c48bd2cce13b3e4ffb90d945

View file

@ -0,0 +1,21 @@
$NetBSD: patch-ab,v 1.10 2000/11/12 14:28:48 wiz Exp $
--- cipher/twofish.c.orig Fri Apr 14 19:34:26 2000
+++ cipher/twofish.c Sun Nov 12 15:05:28 2000
@@ -1004,3 +1004,6 @@
}
+#ifdef IS_MODULE
+static
+#endif
@@ -1034,6 +1037,9 @@
* version = interface version of the function/pointer
* (currently this is 1 for all functions)
*/
+#ifdef IS_MODULE
+static
+#endif
void *
gnupgext_enum_func ( int what, int *sequence, int *class, int *vers )
{