dbus/dbus-sysdeps-win.h: move declarations into .c (used nowhere else) (cherry picked...
authorTor Lillqvist <tml@iki.fi>
Wed, 22 Apr 2009 11:37:38 +0000 (13:37 +0200)
committerRalf Habacker <ralf.habacker@freenet.de>
Mon, 30 Nov 2009 12:21:35 +0000 (13:21 +0100)
dbus/dbus-sysdeps-win.c
dbus/dbus-sysdeps-win.h

index 46a4b79..7d1ae18 100644 (file)
 #include <ws2tcpip.h>
 #include <wincrypt.h>
 
+/* Declarations missing in mingw's headers */
+extern BOOL WINAPI ConvertStringSidToSidA (LPCSTR  StringSid, PSID *Sid);
+extern BOOL WINAPI ConvertSidToStringSidA (PSID Sid, LPSTR *StringSid);
+
 #include <fcntl.h>
 
 #include <process.h>
index d41e1fb..e6ebfc6 100644 (file)
@@ -50,10 +50,6 @@ extern void *_dbus_win_get_dll_hmodule (void);
 #endif
 #endif
 
-/* Declarations missing in mingw's headers */
-extern BOOL WINAPI ConvertStringSidToSidA (LPCSTR  StringSid, PSID *Sid);
-extern BOOL WINAPI ConvertSidToStringSidA (PSID Sid, LPSTR *StringSid);
-
 
 #define DBUS_CONSOLE_DIR "/var/run/console/"