diff options
author | Lutz Jänicke <jaenicke@openssl.org> | 2002-06-13 17:40:27 +0000 |
---|---|---|
committer | Lutz Jänicke <jaenicke@openssl.org> | 2002-06-13 17:40:27 +0000 |
commit | 40889b9cd36ba6233712d163c46154eba4a26ad7 (patch) | |
tree | f4a5ab0b224dbe89a38bf9528c1c41921a29ac30 /apps | |
parent | 99889b46c95711397389959a093f5556ebb39e4b (diff) | |
download | openssl-40889b9cd36ba6233712d163c46154eba4a26ad7.tar.gz |
Add missing prototypes.
Submitted by: Goetz Babin-Ebell <babinebell@trustcenter.de>
PR: 89
Diffstat (limited to 'apps')
-rw-r--r-- | apps/apps.c | 6 | ||||
-rw-r--r-- | apps/apps.h | 8 | ||||
-rw-r--r-- | apps/enc.c | 2 |
3 files changed, 6 insertions, 10 deletions
diff --git a/apps/apps.c b/apps/apps.c index aca750b1f0..e069c97c77 100644 --- a/apps/apps.c +++ b/apps/apps.c @@ -490,7 +490,7 @@ static int ui_close(UI *ui) { return UI_method_get_closer(UI_OpenSSL())(ui); } -int setup_ui_method() +int setup_ui_method(void) { ui_method = UI_create_method("OpenSSL application user interface"); UI_method_set_opener(ui_method, ui_open); @@ -499,7 +499,7 @@ int setup_ui_method() UI_method_set_closer(ui_method, ui_close); return 0; } -void destroy_ui_method() +void destroy_ui_method(void) { if(ui_method) { @@ -1263,7 +1263,7 @@ X509_STORE *setup_verify(BIO *bp, char *CAfile, char *CApath) } /* Try to load an engine in a shareable library */ -ENGINE *try_load_engine(BIO *err, const char *engine, int debug) +static ENGINE *try_load_engine(BIO *err, const char *engine, int debug) { ENGINE *e = ENGINE_by_id("dynamic"); if (e) diff --git a/apps/apps.h b/apps/apps.h index 5b3836ab22..a88902ac13 100644 --- a/apps/apps.h +++ b/apps/apps.h @@ -134,10 +134,6 @@ long app_RAND_load_files(char *file); /* `file' is a list of files to read, * (see e_os.h). The string is * destroyed! */ -#ifdef OPENSSL_NO_STDIO -BIO_METHOD *BIO_s_file(); -#endif - #ifdef OPENSSL_SYS_WIN32 #define rename(from,to) WIN32_rename((from),(to)) int WIN32_rename(char *oldname,char *newname); @@ -217,8 +213,8 @@ typedef struct pw_cb_data int password_callback(char *buf, int bufsiz, int verify, PW_CB_DATA *cb_data); -int setup_ui_method(); -void destroy_ui_method(); +int setup_ui_method(void); +void destroy_ui_method(void); int should_retry(int i); int args_from_file(char *file, int *argc, char **argv[]); diff --git a/apps/enc.c b/apps/enc.c index 2c3af75170..1ba2ea2f68 100644 --- a/apps/enc.c +++ b/apps/enc.c @@ -78,7 +78,7 @@ int set_hex(char *in,unsigned char *out,int size); #define BSIZE (8*1024) #define PROG enc_main -void show_ciphers(const OBJ_NAME *name,void *bio_) +static void show_ciphers(const OBJ_NAME *name,void *bio_) { BIO *bio=bio_; static int n; |