Skip to content

Commit b5ba95a

Browse files
committed
Modernize obsolete inline order
1 parent 562ef5f commit b5ba95a

10 files changed

+10
-10
lines changed

common.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,7 @@ static inline unsigned long long rpcc(void){
525525
#endif // !RPCC_DEFINED
526526

527527
#if !defined(BLAS_LOCK_DEFINED) && defined(__GNUC__)
528-
static void __inline blas_lock(volatile BLASULONG *address){
528+
static __inline void blas_lock(volatile BLASULONG *address){
529529

530530
do {
531531
while (*address) {YIELDING;};

common_alpha.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
#define WMB asm("wmb")
4646
#define RMB asm("mb")
4747

48-
static void __inline blas_lock(unsigned long *address){
48+
static __inline void blas_lock(unsigned long *address){
4949
#ifndef __DECC
5050
unsigned long tmp1, tmp2;
5151
asm volatile(

common_arm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5555

5656
#if defined(ARMV6) || defined(ARMV7) || defined(ARMV8)
5757

58-
static void __inline blas_lock(volatile BLASULONG *address){
58+
static __inline void blas_lock(volatile BLASULONG *address){
5959

6060
int register ret;
6161

common_arm64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
5555
#ifndef ASSEMBLER
5656

5757

58-
static void __inline blas_lock(volatile BLASULONG *address){
58+
static __inline void blas_lock(volatile BLASULONG *address){
5959

6060
BLASULONG ret;
6161

common_power.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191

9292
void *qalloc(int flags, size_t bytes);
9393

94-
static void INLINE blas_lock(volatile unsigned long *address){
94+
static INLINE void blas_lock(volatile unsigned long *address){
9595

9696
long int ret, val = 1;
9797

common_sparc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
#ifndef ASSEMBLER
4747

48-
static void __inline blas_lock(volatile unsigned long *address){
48+
static __inline void blas_lock(volatile unsigned long *address){
4949

5050
long int ret = 1;
5151

common_x86.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
#define __volatile__
5555
#endif
5656

57-
static void __inline blas_lock(volatile BLASULONG *address){
57+
static __inline void blas_lock(volatile BLASULONG *address){
5858

5959
int ret;
6060

common_x86_64.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
#define RMB
7171
#endif
7272

73-
static void __inline blas_lock(volatile BLASULONG *address){
73+
static __inline void blas_lock(volatile BLASULONG *address){
7474

7575

7676
#ifndef C_MSVC

common_zarch.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4545
#ifndef ASSEMBLER
4646

4747
/*
48-
static void __inline blas_lock(volatile BLASULONG *address){
48+
static __inline void blas_lock(volatile BLASULONG *address){
4949
5050
BLASULONG ret;
5151

kernel/power/lock.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
/* or implied, of The University of Texas at Austin. */
3737
/*********************************************************************/
3838

39-
static void __inline blas_lock(volatile BLASULONG *address){
39+
static __inline void blas_lock(volatile BLASULONG *address){
4040

4141
#ifdef __GNUC__
4242

0 commit comments

Comments
 (0)