summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguenther <>2014-07-20 04:22:34 +0000
committerguenther <>2014-07-20 04:22:34 +0000
commitb14a689402f448c2b8f7aa66e939992069c8f3aa (patch)
tree5825d94cbc51cdf261c4e7177ee31779abbd58d6
parent3ca59b9dafdbccff0d09dab3a8a8a3524767b3ed (diff)
downloadopenbsd-b14a689402f448c2b8f7aa66e939992069c8f3aa.tar.gz
openbsd-b14a689402f448c2b8f7aa66e939992069c8f3aa.tar.bz2
openbsd-b14a689402f448c2b8f7aa66e939992069c8f3aa.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)
-rw-r--r--src/lib/libc/crypt/bcrypt.c6
-rw-r--r--src/lib/libc/net/res_random.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libc/crypt/bcrypt.c b/src/lib/libc/crypt/bcrypt.c
index aab26fe2cb..9b0001de0f 100644
--- a/src/lib/libc/crypt/bcrypt.c
+++ b/src/lib/libc/crypt/bcrypt.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: bcrypt.c,v 1.44 2014/05/17 15:18:06 chl Exp $ */ 1/* $OpenBSD: bcrypt.c,v 1.45 2014/07/20 04:22:34 guenther Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 4 * Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
@@ -231,10 +231,10 @@ bcrypt_checkpass(const char *pass, const char *goodhash)
231/* 231/*
232 * internal utilities 232 * internal utilities
233 */ 233 */
234const static u_int8_t Base64Code[] = 234static const u_int8_t Base64Code[] =
235"./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; 235"./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
236 236
237const static u_int8_t index_64[128] = { 237static const u_int8_t index_64[128] = {
238 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 238 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
239 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 239 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
240 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 240 255, 255, 255, 255, 255, 255, 255, 255, 255, 255,
diff --git a/src/lib/libc/net/res_random.c b/src/lib/libc/net/res_random.c
index e22771995a..f28692f7c2 100644
--- a/src/lib/libc/net/res_random.c
+++ b/src/lib/libc/net/res_random.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: res_random.c,v 1.20 2013/11/12 07:00:24 deraadt Exp $ */ 1/* $OpenBSD: res_random.c,v 1.21 2014/07/20 04:22:34 guenther Exp $ */
2 2
3/* 3/*
4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de> 4 * Copyright 1997 Niels Provos <provos@physnet.uni-hamburg.de>
@@ -87,7 +87,7 @@ struct prf_ctx {
87}; 87};
88 88
89#define PFAC_N 3 89#define PFAC_N 3
90const static u_int16_t pfacts[PFAC_N] = { 90static const u_int16_t pfacts[PFAC_N] = {
91 2, 91 2,
92 3, 92 3,
93 2729 93 2729