diff options
author | guenther <> | 2014-07-20 04:22:34 +0000 |
---|---|---|
committer | guenther <> | 2014-07-20 04:22:34 +0000 |
commit | b14a689402f448c2b8f7aa66e939992069c8f3aa (patch) | |
tree | 5825d94cbc51cdf261c4e7177ee31779abbd58d6 /src/lib/libc/crypt | |
parent | 3ca59b9dafdbccff0d09dab3a8a8a3524767b3ed (diff) | |
download | openbsd-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)
Diffstat (limited to 'src/lib/libc/crypt')
-rw-r--r-- | src/lib/libc/crypt/bcrypt.c | 6 |
1 files changed, 3 insertions, 3 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 | */ |
234 | const static u_int8_t Base64Code[] = | 234 | static const u_int8_t Base64Code[] = |
235 | "./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; | 235 | "./ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; |
236 | 236 | ||
237 | const static u_int8_t index_64[128] = { | 237 | static 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, |