[PATCH] xserver: Silence a compilation warning

Fernando Carrijo fcarrijo at yahoo.com.br
Sun Jun 6 18:59:46 PDT 2010

This patch silences the following compilation warning:

  window.c: In function ‘FreeWindowResources’:
  window.c:815: warning: implicit declaration of function ‘DeleteWindowFromAnySelections’
  window.c:815: warning: nested extern declaration of ‘DeleteWindowFromAnySelections’

Signed-off-by: Fernando Carrijo <fcarrijo at yahoo.com.br>
I'm not sure whether selection.h belongs there, so any review is apreciated.

 dix/window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dix/window.c b/dix/window.c
index 8f3ffa3..ebd3ac3 100644
--- a/dix/window.c
+++ b/dix/window.c
@@ -108,6 +108,7 @@ Equipment Corporation.
 #include "regionstr.h"
 #include "validate.h"
 #include "windowstr.h"
+#include "selection.h" /* DeleteWindowFromAnySelections */
 #include "input.h"
 #include "inputstr.h"
 #include "resource.h"

More information about the xorg-devel mailing list