[X2Go-Commits] [nx-libs] 02/18: nx-X11/programs/Xserver/hw/nxagent/Screen.c: make intersect and intersect_bb static since they are only used in this file.
git-admin at x2go.org
git-admin at x2go.org
Fri Jul 13 07:30:52 CEST 2018
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch 3.6.x-rpm-debug
in repository nx-libs.
commit 5537bb1025e752b947c56921eb983cd3db08dfc5
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sun Mar 18 03:01:28 2018 +0100
nx-X11/programs/Xserver/hw/nxagent/Screen.c: make intersect and intersect_bb static since they are only used in this file.
---
nx-X11/programs/Xserver/hw/nxagent/Screen.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 6f0f99f..cd82111 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -3616,7 +3616,7 @@ Bool nxagentReconnectScreen(void *p0)
}
/* intersect two rectangles */
-Bool intersect(int ax1, int ay1, unsigned int aw, unsigned int ah,
+static Bool intersect(int ax1, int ay1, unsigned int aw, unsigned int ah,
int bx1, int by1, unsigned int bw, unsigned int bh,
int *x, int *y, unsigned int *w, unsigned int *h)
{
@@ -3674,7 +3674,7 @@ Bool intersect(int ax1, int ay1, unsigned int aw, unsigned int ah,
#ifndef NXAGENT_RANDR_XINERAMA_CLIPPING
/* intersect two rectangles, return aw/ah for w/h if resulting
rectangle is (partly) outside of bounding box */
-Bool intersect_bb(int ax1, int ay1, unsigned int aw, unsigned int ah,
+static Bool intersect_bb(int ax1, int ay1, unsigned int aw, unsigned int ah,
int bx1, int by1, unsigned int bw, unsigned int bh,
int bbx1, int bby1, int bbx2, int bby2,
int *x, int *y, unsigned int *w, unsigned int *h)
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git
More information about the x2go-commits
mailing list