summaryrefslogtreecommitdiff
path: root/pkgtools/digest
diff options
context:
space:
mode:
authoragc <agc>2001-03-08 14:55:17 +0000
committeragc <agc>2001-03-08 14:55:17 +0000
commitbcf7ce2478adaa94035c03c9f7b0a1a7ee0a8c22 (patch)
tree0120dc55b1022bb2ad963e39fc5fb142b2ade511 /pkgtools/digest
parentd5717fc957de81443a4772960753c97ec2fd7281 (diff)
downloadpkgsrc-bcf7ce2478adaa94035c03c9f7b0a1a7ee0a8c22.tar.gz
Don't use __weak_alias() when compiling. Fixes a coredump on 1.5, noted
by Chuq Silvers
Diffstat (limited to 'pkgtools/digest')
-rw-r--r--pkgtools/digest/files/rmd160.c6
-rw-r--r--pkgtools/digest/files/rmd160hl.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/pkgtools/digest/files/rmd160.c b/pkgtools/digest/files/rmd160.c
index 49698588214..260a87291f2 100644
--- a/pkgtools/digest/files/rmd160.c
+++ b/pkgtools/digest/files/rmd160.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rmd160.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $ */
+/* $NetBSD: rmd160.c,v 1.2 2001/03/08 14:55:17 agc Exp $ */
/********************************************************************\
*
@@ -20,7 +20,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rmd160.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $");
+__RCSID("$NetBSD: rmd160.c,v 1.2 2001/03/08 14:55:17 agc Exp $");
#endif /* not lint */
/* header files */
@@ -46,12 +46,14 @@ __RCSID("$NetBSD: rmd160.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $");
#define _DIAGASSERT(cond) assert(cond)
#endif
+#if 0
#if !defined(_KERNEL) && defined(__weak_alias)
__weak_alias(RMD160Transform,_RMD160Transform)
__weak_alias(RMD160Init,_RMD160Init)
__weak_alias(RMD160Update,_RMD160Update)
__weak_alias(RMD160Final,_RMD160Final)
#endif
+#endif
/********************************************************************/
diff --git a/pkgtools/digest/files/rmd160hl.c b/pkgtools/digest/files/rmd160hl.c
index 78b00ae9406..0f909627515 100644
--- a/pkgtools/digest/files/rmd160hl.c
+++ b/pkgtools/digest/files/rmd160hl.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rmd160hl.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $ */
+/* $NetBSD: rmd160hl.c,v 1.2 2001/03/08 14:55:17 agc Exp $ */
/* rmd160hl.c
* ----------------------------------------------------------------------------
@@ -13,7 +13,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rmd160hl.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $");
+__RCSID("$NetBSD: rmd160hl.c,v 1.2 2001/03/08 14:55:17 agc Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -32,11 +32,13 @@ __RCSID("$NetBSD: rmd160hl.c,v 1.1.1.1 2001/03/06 11:21:05 agc Exp $");
#define _DIAGASSERT(cond) assert(cond)
#endif
+#if 0
#if defined(__weak_alias)
__weak_alias(RMD160End,_RMD160End)
__weak_alias(RMD160File,_RMD160File)
__weak_alias(RMD160Data,_RMD160Data)
#endif
+#endif
char *
RMD160End(RMD160_CTX *ctx, char *buf)