summaryrefslogtreecommitdiff
path: root/src/VBox/HostServices
diff options
context:
space:
mode:
Diffstat (limited to 'src/VBox/HostServices')
-rw-r--r--src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h1
-rw-r--r--src/VBox/HostServices/auth/winlogon/winlogon.cpp24
2 files changed, 12 insertions, 13 deletions
diff --git a/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h b/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h
index ede25ba883a..619a39d54be 100644
--- a/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h
+++ b/src/VBox/HostServices/SharedClipboard/VBoxSharedClipboardSvc-internal.h
@@ -365,7 +365,6 @@ void ShClBackendDestroy(PSHCLBACKEND pBackend);
/**
* Called when a new HGCM client connects.
*
- * @returns VBox status code.
* @param pBackend Shared Clipboard backend to set callbacks for.
* @param pCallbacks Backend callbacks to use.
* When NULL is specified, the backend's default callbacks are being used.
diff --git a/src/VBox/HostServices/auth/winlogon/winlogon.cpp b/src/VBox/HostServices/auth/winlogon/winlogon.cpp
index 21c97fb258b..5bdbc142c64 100644
--- a/src/VBox/HostServices/auth/winlogon/winlogon.cpp
+++ b/src/VBox/HostServices/auth/winlogon/winlogon.cpp
@@ -107,24 +107,24 @@ static WCHAR *utf8ToWideChar(const char *pszString)
}
/* Prototype it to make sure we've got the right prototype. */
-extern "C"
#if defined(_MSC_VER)
-__declspec(dllexport)
+extern "C" __declspec(dllexport) FNAUTHENTRY3 AuthEntry;
+#else
+extern "C" FNAUTHENTRY3 AuthEntry;
#endif
-FNAUTHENTRY3 AuthEntry;
/**
* @callback_method_impl{FNAUTHENTRY3}
*/
-extern "C"
-AuthResult AUTHCALL AuthEntry(const char *pszCaller,
- PAUTHUUID pUuid,
- AuthGuestJudgement guestJudgement,
- const char *pszUser,
- const char *pszPassword,
- const char *pszDomain,
- int fLogon,
- unsigned clientId)
+extern "C" DECLEXPORT(AuthResult) AUTHCALL
+AuthEntry(const char *pszCaller,
+ PAUTHUUID pUuid,
+ AuthGuestJudgement guestJudgement,
+ const char *pszUser,
+ const char *pszPassword,
+ const char *pszDomain,
+ int fLogon,
+ unsigned clientId)
{
RT_NOREF4(pszCaller, pUuid, guestJudgement, clientId);
if (!fLogon)