Jacek Caban : winhttp: Move cookie_t declaration to cookie.c.

Alexandre Julliard julliard at winehq.org
Fri Oct 5 16:40:40 CDT 2018


Module: wine
Branch: master
Commit: acf936b94a6d3689d273a938032c939d706ebd01
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=acf936b94a6d3689d273a938032c939d706ebd01

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri Oct  5 14:58:45 2018 +0200

winhttp: Move cookie_t declaration to cookie.c.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Hans Leidekker <hans at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/winhttp/cookie.c          | 8 ++++++++
 dlls/winhttp/winhttp_private.h | 8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/dlls/winhttp/cookie.c b/dlls/winhttp/cookie.c
index 59d098f..63cbde7 100644
--- a/dlls/winhttp/cookie.c
+++ b/dlls/winhttp/cookie.c
@@ -30,6 +30,14 @@
 
 WINE_DEFAULT_DEBUG_CHANNEL(winhttp);
 
+typedef struct
+{
+    struct list entry;
+    WCHAR *name;
+    WCHAR *value;
+    WCHAR *path;
+} cookie_t;
+
 static domain_t *add_domain( session_t *session, WCHAR *name )
 {
     domain_t *domain;
diff --git a/dlls/winhttp/winhttp_private.h b/dlls/winhttp/winhttp_private.h
index 53b3c16..cac87bb 100644
--- a/dlls/winhttp/winhttp_private.h
+++ b/dlls/winhttp/winhttp_private.h
@@ -73,14 +73,6 @@ typedef struct
     struct list cookies;
 } domain_t;
 
-typedef struct
-{
-    struct list entry;
-    WCHAR *name;
-    WCHAR *value;
-    WCHAR *path;
-} cookie_t;
-
 typedef struct {
     struct list entry;
     LONG ref;




More information about the wine-cvs mailing list