Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.

diff --git a/tsx11/locking.c b/tsx11/locking.c
index 3f77e00..484772f 100644
--- a/tsx11/locking.c
+++ b/tsx11/locking.c
@@ -1,5 +1,21 @@
 /*
  * Thread-safe X11 locking stubs
+ *
+ * Copyright 2000 Alexandre Julliard
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 static void nop(void)