apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Martin <phi...@codematters.co.uk>
Subject [PATCH] Use APR_INLINE instead of inline in public header file
Date Wed, 22 Jun 2011 14:32:09 GMT
* 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

Mime
View raw message