summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/res_random.c
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2014-07-20 04:22:34 +0000
committerguenther <guenther@openbsd.org>2014-07-20 04:22:34 +0000
commit1a0ab62094e3228bee25c13db900b0ec294222ab (patch)
treea4da076b235d9eb4c1a8f18da2d427b7f9c6701b /lib/libc/net/res_random.c
parentOoops, verbose_encrypt option is gone too. (diff)
downloadwireguard-openbsd-1a0ab62094e3228bee25c13db900b0ec294222ab.tar.xz
wireguard-openbsd-1a0ab62094e3228bee25c13db900b0ec294222ab.zip
From ISO/IEC 9899:1999 and 9899:201x,
6.11.5 - Storage-class specifiers: The placement of a storage-class specifier other than at the beginning of the declaration specifiers in a declaration is an obsolescent feature. Diff from Jean-Philippe Ouellet (jean-philippe (at) ouellet.biz)
Diffstat (limited to 'lib/libc/net/res_random.c')
-rw-r--r--lib/libc/net/res_random.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/net/res_random.c b/lib/libc/net/res_random.c
index e22771995ab..f28692f7c2a 100644
--- a/lib/libc/net/res_random.c
+++ b/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: res_random.c,v 1.20 2013/11/12 07:00:24 deraadt Exp $ */
+/* $OpenBSD: res_random.c,v 1.21 2014/07/20 04:22:34 guenther Exp $ */
/*
* Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -87,7 +87,7 @@ struct prf_ctx {
};
#define PFAC_N 3
-const static u_int16_t pfacts[PFAC_N] = {
+static const u_int16_t pfacts[PFAC_N] = {
2,
3,
2729