projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1110cea
)
DCC doesn't like argument names in returned function pointers.
author
Richard Levitte
<levitte@openssl.org>
Thu, 23 Jun 2005 21:35:25 +0000
(21:35 +0000)
committer
Richard Levitte
<levitte@openssl.org>
Thu, 23 Jun 2005 21:35:25 +0000
(21:35 +0000)
PR: 1122
ssl/ssl_lib.c
patch
|
blob
|
history
diff --git
a/ssl/ssl_lib.c
b/ssl/ssl_lib.c
index 25efa29a57a34e0d88ce38c296138c24d5755bf9..383ba33298c56625c3b2ebd297bf6b9c29e9c8c4 100644
(file)
--- a/
ssl/ssl_lib.c
+++ b/
ssl/ssl_lib.c
@@
-2396,7
+2396,9
@@
void SSL_set_info_callback(SSL *ssl,
ssl->info_callback=cb;
}
-void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,int type,int val)
+/* 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*/)
{
return ssl->info_callback;
}