Module Name: src
Committed By: mrg
Date: Sun Aug 7 01:52:48 UTC 2011
Modified Files:
src/common/lib/libc/string: ffs.c
Log Message:
add a weak alias to __ffssi2, needed for hppa gcc 4.5.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/common/lib/libc/string/ffs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/common/lib/libc/string/ffs.c
diff -u src/common/lib/libc/string/ffs.c:1.3 src/common/lib/libc/string/ffs.c:1.4
--- src/common/lib/libc/string/ffs.c:1.3 Fri Nov 2 21:05:06 2007
+++ src/common/lib/libc/string/ffs.c Sun Aug 7 01:52:47 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: ffs.c,v 1.3 2007/11/02 21:05:06 christos Exp $ */
+/* $NetBSD: ffs.c,v 1.4 2011/08/07 01:52:47 mrg Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)ffs.c 8.1 (Berkeley) 6/4/93";
#else
-__RCSID("$NetBSD: ffs.c,v 1.3 2007/11/02 21:05:06 christos Exp $");
+__RCSID("$NetBSD: ffs.c,v 1.4 2011/08/07 01:52:47 mrg Exp $");
#endif
#endif /* LIBC_SCCS and not lint */
@@ -53,6 +53,7 @@
/*
* ffs -- vax ffs instruction
*/
+__weak_alias(__ffssi2,ffs)
int
ffs(int mask)
{