Skip to content

Commit 51ed64a

Browse files
committed
5.6.31
1 parent 72d2389 commit 51ed64a

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

include/mysql/psi/mysql_file.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
22
33
This program is free software; you can redistribute it and/or modify
44
it under the terms of the GNU General Public License as published by
@@ -511,9 +511,9 @@ static inline void inline_mysql_file_register(
511511
PSI_file_info *info,
512512
int count
513513
#else
514-
const char *category __attribute__ ((unused)),
515-
void *info __attribute__ ((unused)),
516-
int count __attribute__ ((unused))
514+
const char *category MY_ATTRIBUTE ((unused)),
515+
void *info MY_ATTRIBUTE ((unused)),
516+
int count MY_ATTRIBUTE ((unused))
517517
#endif
518518
)
519519
{

include/mysql/psi/mysql_socket.h

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2010, 2016, Oracle and/or its affiliates. All rights reserved.
22
33
This program is free software; you can redistribute it and/or
44
modify it under the terms of the GNU General Public License as
@@ -114,9 +114,9 @@ mysql_socket_set_address(
114114
const struct sockaddr *addr,
115115
socklen_t addr_len
116116
#else
117-
MYSQL_SOCKET socket __attribute__ ((unused)),
118-
const struct sockaddr *addr __attribute__ ((unused)),
119-
socklen_t addr_len __attribute__ ((unused))
117+
MYSQL_SOCKET socket MY_ATTRIBUTE ((unused)),
118+
const struct sockaddr *addr MY_ATTRIBUTE ((unused)),
119+
socklen_t addr_len MY_ATTRIBUTE ((unused))
120120
#endif
121121
)
122122
{
@@ -136,7 +136,7 @@ mysql_socket_set_thread_owner(
136136
#ifdef HAVE_PSI_SOCKET_INTERFACE
137137
MYSQL_SOCKET socket
138138
#else
139-
MYSQL_SOCKET socket __attribute__ ((unused))
139+
MYSQL_SOCKET socket MY_ATTRIBUTE ((unused))
140140
#endif
141141
)
142142
{

include/mysql/psi/mysql_thread.h

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
1+
/* Copyright (c) 2008, 2016, Oracle and/or its affiliates. All rights reserved.
22
33
This program is free software; you can redistribute it and/or modify
44
it under the terms of the GNU General Public License as published by
@@ -587,9 +587,9 @@ static inline void inline_mysql_mutex_register(
587587
PSI_mutex_info *info,
588588
int count
589589
#else
590-
const char *category __attribute__ ((unused)),
591-
void *info __attribute__ ((unused)),
592-
int count __attribute__ ((unused))
590+
const char *category MY_ATTRIBUTE ((unused)),
591+
void *info MY_ATTRIBUTE ((unused)),
592+
int count MY_ATTRIBUTE ((unused))
593593
#endif
594594
)
595595
{
@@ -771,9 +771,9 @@ static inline void inline_mysql_rwlock_register(
771771
PSI_rwlock_info *info,
772772
int count
773773
#else
774-
const char *category __attribute__ ((unused)),
775-
void *info __attribute__ ((unused)),
776-
int count __attribute__ ((unused))
774+
const char *category MY_ATTRIBUTE ((unused)),
775+
void *info MY_ATTRIBUTE ((unused)),
776+
int count MY_ATTRIBUTE ((unused))
777777
#endif
778778
)
779779
{
@@ -1089,9 +1089,9 @@ static inline void inline_mysql_cond_register(
10891089
PSI_cond_info *info,
10901090
int count
10911091
#else
1092-
const char *category __attribute__ ((unused)),
1093-
void *info __attribute__ ((unused)),
1094-
int count __attribute__ ((unused))
1092+
const char *category MY_ATTRIBUTE ((unused)),
1093+
void *info MY_ATTRIBUTE ((unused)),
1094+
int count MY_ATTRIBUTE ((unused))
10951095
#endif
10961096
)
10971097
{
@@ -1231,9 +1231,9 @@ static inline void inline_mysql_thread_register(
12311231
PSI_thread_info *info,
12321232
int count
12331233
#else
1234-
const char *category __attribute__ ((unused)),
1235-
void *info __attribute__ ((unused)),
1236-
int count __attribute__ ((unused))
1234+
const char *category MY_ATTRIBUTE ((unused)),
1235+
void *info MY_ATTRIBUTE ((unused)),
1236+
int count MY_ATTRIBUTE ((unused))
12371237
#endif
12381238
)
12391239
{

0 commit comments

Comments
 (0)