aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-03-18 16:35:43 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-05-02 14:53:06 +0200
commitef287b54f0a1b23402ba9e8cb6cb8be7b7455a3b (patch)
tree67fb94d180a33ff5f59b63b2b518954046418bef
parent72386e1718da8ccd1eb42bf1e8565b8f411cfc38 (diff)
downloadnx-libs-ef287b54f0a1b23402ba9e8cb6cb8be7b7455a3b.tar.gz
nx-libs-ef287b54f0a1b23402ba9e8cb6cb8be7b7455a3b.tar.bz2
nx-libs-ef287b54f0a1b23402ba9e8cb6cb8be7b7455a3b.zip
hw/nxagent/Screen.h: Provide prototype for nxagentAdjustRandRXinerama(). Avoid implicit-declaration compiler warning.
Amends the following compiler warning: ``` Screen.c:3716:5: warning: implicit declaration of function ‘nxagentAdjustRandRXinerama’ [-Wimplicit-function-declaration] nxagentAdjustRandRXinerama(pScreen); ^ ```
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c1
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index bfa28a0ce..767810b5e 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -171,6 +171,7 @@ WindowPtr nxagentViewportFrameBelow;
Bool nxagentCreateScreenResources(ScreenPtr pScreen);
void nxagentPrintAgentGeometry(char *hdrMessage, char *prefix);
+
/*
* These variables are for shadowing feature.
*/
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.h b/nx-X11/programs/Xserver/hw/nxagent/Screen.h
index aab3ba19c..305d5648f 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.h
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.h
@@ -102,6 +102,8 @@ Bool nxagentResizeScreen(ScreenPtr pScreen, int width, int height,
int nxagentChangeScreenConfig(int screen, int width, int height, int mmWidth, int mmHeight);
+int nxagentAdjustRandRXinerama(ScreenPtr pScreen);
+
extern Bool nxagentReconnectScreen(void *p0);
void nxagentSaveAreas(PixmapPtr pPixmap, RegionPtr prgnSave, int xorg, int yorg, WindowPtr pWin);