VirtualBox/VirtualBox-5.0.4-x86-upstream-buildfixes.patch

24 lines
1.3 KiB
Diff

Index: trunk/src/VBox/ExtPacks/VNC/VBoxVNC.cpp
===================================================================
--- a/trunk/src/VBox/ExtPacks/VNC/VBoxVNC.cpp
+++ b/trunk/src/VBox/ExtPacks/VNC/VBoxVNC.cpp
@@ -104,6 +104,6 @@
unsigned char *mFrameBuffer;
uint32_t uClients;
- static DECLCALLBACK(enum rfbNewClientAction) rfbNewClientEvent(rfbClientPtr cl);
- static DECLCALLBACK(void) vncMouseEvent(int buttonMask, int x, int y, rfbClientPtr cl);
+ static enum rfbNewClientAction rfbNewClientEvent(rfbClientPtr cl);
+ static void vncMouseEvent(int buttonMask, int x, int y, rfbClientPtr cl);
static void vncKeyboardEvent(rfbBool down, rfbKeySym keySym, rfbClientPtr cl);
static void clientGoneHook(rfbClientPtr cl);
Index: trunk/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
===================================================================
--- a/trunk/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
+++ b/trunk/src/VBox/Additions/linux/lightdm-greeter/vbox-greeter.cpp
@@ -843,5 +843,5 @@
* @param pfnLog
*/
-static void vboxGreeterLogHeaderFooter(PRTLOGGER pLoggerRelease, RTLOGPHASE enmPhase, PFNRTLOGPHASEMSG pfnLog)
+static DECLCALLBACK(void) vboxGreeterLogHeaderFooter(PRTLOGGER pLoggerRelease, RTLOGPHASE enmPhase, PFNRTLOGPHASEMSG pfnLog)
{
/* Some introductory information. */