]> granicus.if.org Git - apache/commitdiff
Use APR_INLINE instead of inline, to support pre-C99 compilers
authorStefan Fritsch <sf@apache.org>
Mon, 27 Jun 2011 17:50:12 +0000 (17:50 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 27 Jun 2011 17:50:12 +0000 (17:50 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1140249 13f79535-47bb-0310-9956-ffa450edef68

include/http_protocol.h

index b33279bca8fef9f8c940c4728cc7175b8e08386e..18171db2c7ef3c6e85d8479588f10135ad8aa26d 100644 (file)
@@ -334,7 +334,7 @@ AP_DECLARE(int) ap_rwrite(const void *buf, int nbyte, request_rec *r);
  * @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);
 }