From ab7d00f2ed46fd884574d11bf6362d9a31dfc2b5 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 22 Apr 2009 13:37:38 +0200 Subject: [PATCH] dbus/dbus-sysdeps-win.h: move declarations into .c (used nowhere else) (cherry picked from commit 0ea30b511e5b099c43bfdf2cbff0f3935917e057) --- dbus/dbus-sysdeps-win.c | 4 ++++ dbus/dbus-sysdeps-win.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dbus/dbus-sysdeps-win.c b/dbus/dbus-sysdeps-win.c index 46a4b79..7d1ae18 100644 --- a/dbus/dbus-sysdeps-win.c +++ b/dbus/dbus-sysdeps-win.c @@ -52,6 +52,10 @@ #include #include +/* Declarations missing in mingw's headers */ +extern BOOL WINAPI ConvertStringSidToSidA (LPCSTR StringSid, PSID *Sid); +extern BOOL WINAPI ConvertSidToStringSidA (PSID Sid, LPSTR *StringSid); + #include #include diff --git a/dbus/dbus-sysdeps-win.h b/dbus/dbus-sysdeps-win.h index d41e1fb..e6ebfc6 100644 --- a/dbus/dbus-sysdeps-win.h +++ b/dbus/dbus-sysdeps-win.h @@ -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/" -- 2.7.4