Module Name: src
Committed By: christos
Date: Thu Oct 17 23:56:17 UTC 2013
Modified Files:
src/lib/libc/gen: arc4random.c
Log Message:
remove always inline because new gcc bitches.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libc/gen/arc4random.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/gen/arc4random.c
diff -u src/lib/libc/gen/arc4random.c:1.20 src/lib/libc/gen/arc4random.c:1.21
--- src/lib/libc/gen/arc4random.c:1.20 Mon Aug 20 17:38:09 2012
+++ src/lib/libc/gen/arc4random.c Thu Oct 17 19:56:17 2013
@@ -1,4 +1,4 @@
-/* $NetBSD: arc4random.c,v 1.20 2012/08/20 21:38:09 dsl Exp $ */
+/* $NetBSD: arc4random.c,v 1.21 2013/10/17 23:56:17 christos Exp $ */
/* $OpenBSD: arc4random.c,v 1.6 2001/06/05 05:05:38 pvalchev Exp $ */
/*
@@ -27,7 +27,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: arc4random.c,v 1.20 2012/08/20 21:38:09 dsl Exp $");
+__RCSID("$NetBSD: arc4random.c,v 1.21 2013/10/17 23:56:17 christos Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -152,7 +152,7 @@ arc4_stir(struct arc4_stream *as)
as->stirred = 1;
}
-static __always_inline uint8_t
+static __inline uint8_t
arc4_getbyte_ij(struct arc4_stream *as, uint8_t *i, uint8_t *j)
{
uint8_t si, sj;