summaryrefslogtreecommitdiff
path: root/numpy/core/src/common
diff options
context:
space:
mode:
authorRalf Gommers <ralf.gommers@gmail.com>2022-11-25 18:22:09 +0100
committerRalf Gommers <ralf.gommers@gmail.com>2022-11-27 15:31:40 +0100
commit7a50f23f0d136a737bd8708eb62abd15a861c3bf (patch)
tree539cae64ffd4cbd3c9a9d9e1c3d222e9ee7139f4 /numpy/core/src/common
parent5302f81bf83a6c4fcdcfe5c00a6f6951b851c405 (diff)
downloadnumpy-7a50f23f0d136a737bd8708eb62abd15a861c3bf.tar.gz
MAINT: remove remaining `NPY_INLINE` usages
Diffstat (limited to 'numpy/core/src/common')
-rw-r--r--numpy/core/src/common/npy_cpu_features.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/numpy/core/src/common/npy_cpu_features.c b/numpy/core/src/common/npy_cpu_features.c
index 773f4af86..7563979d1 100644
--- a/numpy/core/src/common/npy_cpu_features.c
+++ b/numpy/core/src/common/npy_cpu_features.c
@@ -1,6 +1,6 @@
#include "npy_cpu_features.h"
#include "npy_cpu_dispatch.h" // To guarantee the CPU baseline definitions are in scope.
-#include "numpy/npy_common.h" // for NPY_INLINE
+#include "numpy/npy_common.h"
#include "numpy/npy_cpu.h" // To guarantee the CPU definitions are in scope.
/******************** Private Definitions *********************/
@@ -166,7 +166,7 @@ npy_cpu_dispatch_list(void)
* features that had been configured via --cpu-baseline
* otherwise it returns 0
*/
-static NPY_INLINE int
+static inline int
npy__cpu_baseline_fid(const char *feature)
{
#if !defined(NPY_DISABLE_OPTIMIZATION) && NPY_WITH_CPU_BASELINE_N > 0
@@ -179,7 +179,7 @@ npy__cpu_baseline_fid(const char *feature)
* features that had been configured via --cpu-dispatch
* otherwise it returns 0
*/
-static NPY_INLINE int
+static inline int
npy__cpu_dispatch_fid(const char *feature)
{
#if !defined(NPY_DISABLE_OPTIMIZATION) && NPY_WITH_CPU_DISPATCH_N > 0
@@ -606,7 +606,7 @@ npy__cpu_init_features(void)
#elif defined(__arm__) || defined(__aarch64__)
-static NPY_INLINE void
+static inline void
npy__cpu_init_features_arm8(void)
{
npy__cpu_have[NPY_CPU_FEATURE_NEON] =