1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00
This commit is contained in:
Sergei Golubchik
2016-06-21 14:22:52 +02:00
parent 72d23896d6
commit 51ed64a520
3 changed files with 22 additions and 22 deletions

View File

@@ -1,4 +1,4 @@
/* Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
@@ -114,9 +114,9 @@ mysql_socket_set_address(
const struct sockaddr *addr,
socklen_t addr_len
#else
MYSQL_SOCKET socket __attribute__ ((unused)),
const struct sockaddr *addr __attribute__ ((unused)),
socklen_t addr_len __attribute__ ((unused))
MYSQL_SOCKET socket MY_ATTRIBUTE ((unused)),
const struct sockaddr *addr MY_ATTRIBUTE ((unused)),
socklen_t addr_len MY_ATTRIBUTE ((unused))
#endif
)
{
@@ -136,7 +136,7 @@ mysql_socket_set_thread_owner(
#ifdef HAVE_PSI_SOCKET_INTERFACE
MYSQL_SOCKET socket
#else
MYSQL_SOCKET socket __attribute__ ((unused))
MYSQL_SOCKET socket MY_ATTRIBUTE ((unused))
#endif
)
{