Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/gen remove always inline because new gcc bitches.
details: https://anonhg.NetBSD.org/src/rev/4f2fb3a590b2
branches: trunk
changeset: 790595:4f2fb3a590b2
user: christos <christos%NetBSD.org@localhost>
date: Thu Oct 17 23:56:17 2013 +0000
description:
remove always inline because new gcc bitches.
diffstat:
lib/libc/gen/arc4random.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 089ef544c16c -r 4f2fb3a590b2 lib/libc/gen/arc4random.c
--- a/lib/libc/gen/arc4random.c Thu Oct 17 23:05:08 2013 +0000
+++ b/lib/libc/gen/arc4random.c Thu Oct 17 23:56:17 2013 +0000
@@ -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 @@
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;
Home |
Main Index |
Thread Index |
Old Index