You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Philip Martin <ph...@codematters.co.uk> on 2011/06/22 16:32:09 UTC

[PATCH] Use APR_INLINE instead of inline in public header file

* include/http_protocol.h: Use APR_INLINE instead of inline for C89
  compatibility

Index: include/http_protocol.h
===================================================================
--- include/http_protocol.h	(revision 1137943)
+++ include/http_protocol.h	(working copy)
@@ -334,7 +334,7 @@
  * @return The number of bytes sent
  * @note ap_rputs may be implemented as macro or inline function
  */
-static inline int ap_rputs(const char *str, request_rec *r)
+static APR_INLINE int ap_rputs(const char *str, request_rec *r)
 {
     return ap_rwrite(str, strlen(str), r);
 }


-- 
Philip