[PATCH] mshtml: Move 'inline' to the beginning of the declaration directly

Michael Stefaniuc mstefani at redhat.de
Fri Sep 14 11:03:44 CDT 2007


after the storage specifier.
---
 dlls/mshtml/txtrange.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/dlls/mshtml/txtrange.c b/dlls/mshtml/txtrange.c
index bbf7d24..b7c04f9 100644
--- a/dlls/mshtml/txtrange.c
+++ b/dlls/mshtml/txtrange.c
@@ -155,7 +155,7 @@ static BOOL is_br_node(nsIDOMNode *node)
     return ret;
 }
 
-static void inline wstrbuf_init(wstrbuf_t *buf)
+static inline void wstrbuf_init(wstrbuf_t *buf)
 {
     buf->len = 0;
     buf->size = 16;
@@ -163,7 +163,7 @@ static void inline wstrbuf_init(wstrbuf_t *buf)
     *buf->buf = 0;
 }
 
-static void inline wstrbuf_finish(wstrbuf_t *buf)
+static inline void wstrbuf_finish(wstrbuf_t *buf)
 {
     mshtml_free(buf->buf);
 }
@@ -180,7 +180,7 @@ static void wstrbuf_append_len(wstrbuf_t *buf, LPCWSTR str, int len)
     buf->buf[buf->len] = 0;
 }
 
-static void inline wstrbuf_append(wstrbuf_t *buf, LPCWSTR str)
+static inline void wstrbuf_append(wstrbuf_t *buf, LPCWSTR str)
 {
     wstrbuf_append_len(buf, str, strlenW(str));
 }
@@ -395,7 +395,7 @@ static void set_range_pos(HTMLTxtRange *This, BOOL start, dompos_t *pos)
         ERR("failed: %p %08x\n", pos->node, nsres);
 }
 
-static void inline dompos_release(dompos_t *pos)
+static inline void dompos_release(dompos_t *pos)
 {
     if(pos->node)
         nsIDOMNode_Release(pos->node);
@@ -404,7 +404,7 @@ static void inline dompos_release(dompos_t *pos)
         nsAString_Finish(&pos->str);
 }
 
-static void inline dompos_addref(dompos_t *pos)
+static inline void dompos_addref(dompos_t *pos)
 {
     if(pos->node)
         nsIDOMNode_AddRef(pos->node);
-- 
1.5.2.1


-- 
Michael Stefaniuc               Tel.: +49-711-96437-199
Sr. Network Engineer            Fax.: +49-711-96437-111
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070914/01bea3bc/attachment.pgp 


More information about the wine-patches mailing list