mirror of
https://gitlab.labs.nic.cz/labs/bird.git
synced 2024-05-11 16:54:54 +00:00
Rename sk_new() to avoid name collision with OpenSSL.
This commit is contained in:
@@ -588,9 +588,12 @@ static struct resclass sk_class = {
|
||||
* This function creates a new socket resource. If you want to use it,
|
||||
* you need to fill in all the required fields of the structure and
|
||||
* call sk_open() to do the actual opening of the socket.
|
||||
*
|
||||
* The real function name is sock_new(), sk_new() is a macro wrapper
|
||||
* to avoid collision with OpenSSL.
|
||||
*/
|
||||
sock *
|
||||
sk_new(pool *p)
|
||||
sock_new(pool *p)
|
||||
{
|
||||
sock *s = ralloc(p, &sk_class);
|
||||
s->pool = p;
|
||||
|
Reference in New Issue
Block a user