Michael Stefaniuc : mshtml: Move 'inline' to the beginning of the declaration directly after the storage specifier.

Alexandre Julliard julliard at winehq.org
Mon Sep 17 07:59:47 CDT 2007


Module: wine
Branch: master
Commit: 5d96659b3a3aa48ff904452f5adbd91fa023c7d8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5d96659b3a3aa48ff904452f5adbd91fa023c7d8

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Sep 14 18:03:44 2007 +0200

mshtml: Move 'inline' to the beginning of the declaration directly 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);




More information about the wine-cvs mailing list