diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-24 18:34:04 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-05-24 18:34:04 +0000 |
commit | 03da023b809bee0189b07f49e6cc96476b1d5a02 (patch) | |
tree | d3ff51e1c57b8cc100b6d0f9a7b7d19b34b9ac4f /lib/libssl | |
parent | 4e6023a761b71077c7a9306f14896e1fe11d7f93 (diff) |
I'm so sorry to learn that the Diab compiler can't (or used not to) parse C
code. Remove workaround.
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/ssl_lib.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libssl/ssl_lib.c b/lib/libssl/ssl_lib.c index c2e6b407c50..694bc900a0e 100644 --- a/lib/libssl/ssl_lib.c +++ b/lib/libssl/ssl_lib.c @@ -2963,11 +2963,7 @@ SSL_set_info_callback(SSL *ssl, ssl->info_callback = cb; } -/* - * One compiler (Diab DCC) doesn't like argument names in returned - * function pointer. - */ -void (*SSL_get_info_callback(const SSL *ssl))(const SSL * /*ssl*/,int /*type*/,int /*val*/) +void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl, int type, int val) { return (ssl->info_callback); } |