openssl/crypto/cast
Benjamin Kaduk f44903a428 Address some -Wold-style-declaration warnings
gcc's -Wextra pulls in -Wold-style-declaration, which triggers when a
declaration has a storage-class specifier as a non-initial qualifier.
The ISO C formal grammar requires the storage-class to be the first
component of the declaration, if present.

Seeint as the register storage-class specifier does not really have any effect
anymore with modern compilers, remove it entirely while we're here, instead of
fixing up the order.

Interestingly, the gcc devteam warnings do not pull in -Wextra, though
the clang ones do.

[extended tests]

Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3239)
2017-05-01 14:23:28 -04:00
..
asm Remove trailing whitespace from some files. 2016-10-10 23:36:21 +01:00
build.info Add $(LIB_CFLAGS) for any build.info generator that uses $(CFLAGS) 2016-03-13 00:02:55 +01:00
c_cfb64.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
c_ecb.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
c_enc.c Address some -Wold-style-declaration warnings 2017-05-01 14:23:28 -04:00
c_ofb64.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
c_skey.c Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
cast_lcl.h Copyright consolidation 09/10 2016-05-17 14:53:16 -04:00
cast_s.h Code health: With the VAX C-ism gone, OPENSSL_GLOBAL can be removed too 2017-02-28 20:23:07 +01:00