summaryrefslogtreecommitdiff
path: root/numpy/core/src/umath/string_ufuncs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'numpy/core/src/umath/string_ufuncs.cpp')
-rw-r--r--numpy/core/src/umath/string_ufuncs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/src/umath/string_ufuncs.cpp b/numpy/core/src/umath/string_ufuncs.cpp
index 5a35c318b..5d82be6db 100644
--- a/numpy/core/src/umath/string_ufuncs.cpp
+++ b/numpy/core/src/umath/string_ufuncs.cpp
@@ -16,7 +16,7 @@
template <typename character>
-static NPY_INLINE int
+static inline int
character_cmp(character a, character b)
{
if (a == b) {
@@ -37,7 +37,7 @@ character_cmp(character a, character b)
* is always padded with zeros).
*/
template <bool rstrip, typename character>
-static NPY_INLINE int
+static inline int
string_cmp(int len1, const character *str1, int len2, const character *str2)
{
if (rstrip) {