[X2Go-Commits] [nx-libs] 03/15: 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
Mon Apr 30 23:47:47 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 f8bf7c240c64a26ec72aa307c67d5d748989c65a
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 7959aa4..d112626 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -3626,7 +3626,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)
 {
@@ -3684,7 +3684,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