From: Tor Lillqvist Date: Wed, 22 Apr 2009 11:37:38 +0000 (+0200) Subject: dbus/dbus-sysdeps-win.h: move declarations into .c (used nowhere else) (cherry picked... X-Git-Tag: dbus-1.3.1~201 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ab7d00f2ed46fd884574d11bf6362d9a31dfc2b5;p=platform%2Fupstream%2Fdbus.git dbus/dbus-sysdeps-win.h: move declarations into .c (used nowhere else) (cherry picked from commit 0ea30b511e5b099c43bfdf2cbff0f3935917e057) --- 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/"