Removed the useless proxy.h header file.
Fixed a couple of warnings.

diff --git a/tools/widl/client.c b/tools/widl/client.c
index 0f1e8ef..8dfb364 100644
--- a/tools/widl/client.c
+++ b/tools/widl/client.c
@@ -414,8 +414,6 @@
 void write_client(ifref_t *ifaces)
 {
     ifref_t *lcur = ifaces;
-    char *file_id = client_token;
-    int c;
 
     if (!do_client)
         return;
diff --git a/tools/widl/parser.y b/tools/widl/parser.y
index 54896b9..4d4f6f1 100644
--- a/tools/widl/parser.y
+++ b/tools/widl/parser.y
@@ -37,7 +37,6 @@
 #include "utils.h"
 #include "parser.h"
 #include "header.h"
-#include "proxy.h"
 #include "typelib.h"
 
 #if defined(YYBYACC)
diff --git a/tools/widl/proxy.h b/tools/widl/proxy.h
deleted file mode 100644
index fb32b5e..0000000
--- a/tools/widl/proxy.h
+++ /dev/null
@@ -1,26 +0,0 @@
-/*
- * IDL Compiler
- *
- * Copyright 2002 Ove Kaaven
- *
- * 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
- */
-
-#ifndef __WIDL_PROXY_H
-#define __WIDL_PROXY_H
-
-extern void write_proxies(ifref_t *ifaces);
-
-#endif
diff --git a/tools/widl/server.c b/tools/widl/server.c
index f0cd03b..77b5b6e 100644
--- a/tools/widl/server.c
+++ b/tools/widl/server.c
@@ -142,6 +142,7 @@
 
         default:
             error("Unknown/unsupported type: %s\n", type->name);
+            return 0;
     }
 }
 
@@ -424,8 +425,6 @@
 void write_server(ifref_t *ifaces)
 {
     ifref_t *lcur = ifaces;
-    char *file_id = server_token;
-    int c;
 
     if (!do_server)
         return;
diff --git a/tools/widl/widl.c b/tools/widl/widl.c
index be5d9da..b952b5a 100644
--- a/tools/widl/widl.c
+++ b/tools/widl/widl.c
@@ -36,7 +36,6 @@
 #include "widl.h"
 #include "utils.h"
 #include "parser.h"
-#include "proxy.h"
 #include "wine/wpp.h"
 
 /* future options to reserve characters for: */
diff --git a/tools/widl/widl.h b/tools/widl/widl.h
index 670d4ff..5b303c3 100644
--- a/tools/widl/widl.h
+++ b/tools/widl/widl.h
@@ -60,6 +60,7 @@
 
 extern FILE* header;
 
+extern void write_proxies(ifref_t *ifaces);
 extern void write_client(ifref_t *ifaces);
 extern void write_server(ifref_t *ifaces);