Commit 51ed64a5 authored by Sergei Golubchik's avatar Sergei Golubchik

5.6.31

parent 72d23896
/* Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 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 published by
......@@ -511,9 +511,9 @@ static inline void inline_mysql_file_register(
PSI_file_info *info,
int count
#else
const char *category __attribute__ ((unused)),
void *info __attribute__ ((unused)),
int count __attribute__ ((unused))
const char *category MY_ATTRIBUTE ((unused)),
void *info MY_ATTRIBUTE ((unused)),
int count MY_ATTRIBUTE ((unused))
#endif
)
{
......
/* 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
)
{
......
/* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
/* Copyright (c) 2008, 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 published by
......@@ -587,9 +587,9 @@ static inline void inline_mysql_mutex_register(
PSI_mutex_info *info,
int count
#else
const char *category __attribute__ ((unused)),
void *info __attribute__ ((unused)),
int count __attribute__ ((unused))
const char *category MY_ATTRIBUTE ((unused)),
void *info MY_ATTRIBUTE ((unused)),
int count MY_ATTRIBUTE ((unused))
#endif
)
{
......@@ -771,9 +771,9 @@ static inline void inline_mysql_rwlock_register(
PSI_rwlock_info *info,
int count
#else
const char *category __attribute__ ((unused)),
void *info __attribute__ ((unused)),
int count __attribute__ ((unused))
const char *category MY_ATTRIBUTE ((unused)),
void *info MY_ATTRIBUTE ((unused)),
int count MY_ATTRIBUTE ((unused))
#endif
)
{
......@@ -1089,9 +1089,9 @@ static inline void inline_mysql_cond_register(
PSI_cond_info *info,
int count
#else
const char *category __attribute__ ((unused)),
void *info __attribute__ ((unused)),
int count __attribute__ ((unused))
const char *category MY_ATTRIBUTE ((unused)),
void *info MY_ATTRIBUTE ((unused)),
int count MY_ATTRIBUTE ((unused))
#endif
)
{
......@@ -1231,9 +1231,9 @@ static inline void inline_mysql_thread_register(
PSI_thread_info *info,
int count
#else
const char *category __attribute__ ((unused)),
void *info __attribute__ ((unused)),
int count __attribute__ ((unused))
const char *category MY_ATTRIBUTE ((unused)),
void *info MY_ATTRIBUTE ((unused)),
int count MY_ATTRIBUTE ((unused))
#endif
)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment