diff options
| author | miod <> | 2014-04-27 20:20:59 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-27 20:20:59 +0000 |
| commit | dca0aaa15884eb5bf1105e1c7a6323f11be4abd3 (patch) | |
| tree | 8c69a274c74d651766e7fde77b65409a83f19e91 /src/lib/libcrypto/conf | |
| parent | 3a7174b249978efb30c051425bce7b06accba708 (diff) | |
| download | openbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.tar.gz openbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.tar.bz2 openbsd-dca0aaa15884eb5bf1105e1c7a6323f11be4abd3.zip | |
Put explicit (void) in function declarations and shuffle keywords in some
declaration to pass -Wextra, should we want to add it to CFLAGS.
No binary change.
Diffstat (limited to 'src/lib/libcrypto/conf')
| -rw-r--r-- | src/lib/libcrypto/conf/conf_def.c | 4 | ||||
| -rw-r--r-- | src/lib/libcrypto/conf/conf_sap.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/conf/conf_def.c b/src/lib/libcrypto/conf/conf_def.c index bc9f139e7e..d85773df0e 100644 --- a/src/lib/libcrypto/conf/conf_def.c +++ b/src/lib/libcrypto/conf/conf_def.c | |||
| @@ -117,13 +117,13 @@ static CONF_METHOD WIN32_method = { | |||
| 117 | }; | 117 | }; |
| 118 | 118 | ||
| 119 | CONF_METHOD * | 119 | CONF_METHOD * |
| 120 | NCONF_default() | 120 | NCONF_default(void) |
| 121 | { | 121 | { |
| 122 | return &default_method; | 122 | return &default_method; |
| 123 | } | 123 | } |
| 124 | 124 | ||
| 125 | CONF_METHOD * | 125 | CONF_METHOD * |
| 126 | NCONF_WIN32() | 126 | NCONF_WIN32(void) |
| 127 | { | 127 | { |
| 128 | return &WIN32_method; | 128 | return &WIN32_method; |
| 129 | } | 129 | } |
diff --git a/src/lib/libcrypto/conf/conf_sap.c b/src/lib/libcrypto/conf/conf_sap.c index bbd73df812..a8e1f78093 100644 --- a/src/lib/libcrypto/conf/conf_sap.c +++ b/src/lib/libcrypto/conf/conf_sap.c | |||
| @@ -104,7 +104,7 @@ OPENSSL_config(const char *config_name) | |||
| 104 | } | 104 | } |
| 105 | 105 | ||
| 106 | void | 106 | void |
| 107 | OPENSSL_no_config() | 107 | OPENSSL_no_config(void) |
| 108 | { | 108 | { |
| 109 | openssl_configured = 1; | 109 | openssl_configured = 1; |
| 110 | } | 110 | } |
