embed.fnc: Properly declare fcn inline
authorKarl Williamson <public@khwilliamson.com>
Mon, 7 Jan 2013 02:17:42 +0000 (19:17 -0700)
committerKarl Williamson <public@khwilliamson.com>
Mon, 7 Jan 2013 04:22:43 +0000 (21:22 -0700)
This function is specified as inline in the source code, but not in the
prototypes; only one compiler seems to have noticed.

embed.fnc
proto.h

index 5e03012..a2f064b 100644 (file)
--- a/embed.fnc
+++ b/embed.fnc
@@ -1416,7 +1416,7 @@ EiMR      |UV*    |get_invlist_iter_addr  |NN SV* invlist
 EiMR   |UV*    |get_invlist_version_id_addr    |NN SV* invlist
 EiM    |void   |invlist_iterinit|NN SV* invlist
 EsMR   |bool   |invlist_iternext|NN SV* invlist|NN UV* start|NN UV* end
-EsM    |void   |invlist_iterfinish|NN SV* invlist
+EiM    |void   |invlist_iterfinish|NN SV* invlist
 EiMR   |UV     |invlist_highest|NN SV* const invlist
 #endif
 #if defined(PERL_IN_REGCOMP_C) || defined(PERL_IN_UTF8_C)
diff --git a/proto.h b/proto.h
index d9435b5..d85e9af 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -6515,7 +6515,7 @@ PERL_STATIC_INLINE bool   S_invlist_is_iterating(pTHX_ SV* const invlist)
 #define PERL_ARGS_ASSERT_INVLIST_IS_ITERATING  \
        assert(invlist)
 
-STATIC void    S_invlist_iterfinish(pTHX_ SV* invlist)
+PERL_STATIC_INLINE void        S_invlist_iterfinish(pTHX_ SV* invlist)
                        __attribute__nonnull__(pTHX_1);
 #define PERL_ARGS_ASSERT_INVLIST_ITERFINISH    \
        assert(invlist)