diff options
author | Ben Laurie <ben@openssl.org> | 2005-03-31 09:26:39 +0000 |
---|---|---|
committer | Ben Laurie <ben@openssl.org> | 2005-03-31 09:26:39 +0000 |
commit | 41a15c4f0f2535591ba9f258cf76119f86477c43 (patch) | |
tree | 6aca3f255f97dc3e9bd18884beeddf7de26fa122 /crypto/engine | |
parent | fea4280a8b1a37bfe1ae6ffaede58722ad71afa1 (diff) | |
download | openssl-41a15c4f0f2535591ba9f258cf76119f86477c43.zip openssl-41a15c4f0f2535591ba9f258cf76119f86477c43.tar.gz openssl-41a15c4f0f2535591ba9f258cf76119f86477c43.tar.bz2 |
Give everything prototypes (well, everything that's actually used).
Diffstat (limited to 'crypto/engine')
-rw-r--r-- | crypto/engine/eng_ctrl.c | 3 | ||||
-rw-r--r-- | crypto/engine/enginetest.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/crypto/engine/eng_ctrl.c b/crypto/engine/eng_ctrl.c index 1852748..4455ef6 100644 --- a/crypto/engine/eng_ctrl.c +++ b/crypto/engine/eng_ctrl.c @@ -100,7 +100,8 @@ static int int_ctrl_cmd_by_num(const ENGINE_CMD_DEFN *defn, unsigned int num) return -1; } -static int int_ctrl_helper(ENGINE *e, int cmd, long i, void *p, void (*f)()) +static int int_ctrl_helper(ENGINE *e, int cmd, long i, void *p, + void (*f)(void)) { int idx; char *s = (char *)p; diff --git a/crypto/engine/enginetest.c b/crypto/engine/enginetest.c index c2d0297..cf82f49 100644 --- a/crypto/engine/enginetest.c +++ b/crypto/engine/enginetest.c @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) #include <openssl/engine.h> #include <openssl/err.h> -static void display_engine_list() +static void display_engine_list(void) { ENGINE *h; int loop; |