Permalink
Browse files

use PARROT_INLINE instead of inline

  • Loading branch information...
mlschroe committed Oct 7, 2011
1 parent 1406d01 commit c6ed57488d44c1fd59db9cb7b7dea0518c88dc6e
Showing with 5 additions and 3 deletions.
  1. +5 −3 src/runcore/subprof.c
View
@@ -148,8 +148,9 @@ static INTVAL * sptodebug(PARROT_INTERP,
__attribute__nonnull__(2)
__attribute__nonnull__(3);
+PARROT_INLINE
PARROT_CANNOT_RETURN_NULL
-static inline char * str2cs(PARROT_INTERP, ARGIN_NULLOK(STRING *s))
+static char * str2cs(PARROT_INTERP, ARGIN_NULLOK(STRING *s))
__attribute__nonnull__(1);
PARROT_CANNOT_RETURN_NULL
@@ -313,16 +314,17 @@ sptodebug(PARROT_INTERP, ARGIN(subprofiledata *spdata), ARGIN(subprofile *sp))
/*
-=item C<static inline char * str2cs(PARROT_INTERP, STRING *s)>
+=item C<static char * str2cs(PARROT_INTERP, STRING *s)>
Convert a STRING* to a char*, or a STRINGNULL to "STRINGNULL".
=cut
*/
+PARROT_INLINE
PARROT_CANNOT_RETURN_NULL
-static inline char *
+static char *
str2cs(PARROT_INTERP, ARGIN_NULLOK(STRING *s))
{
ASSERT_ARGS(str2cs)

0 comments on commit c6ed574

Please sign in to comment.