Removed the useless proxy.h header file.

Fixed a couple of warnings.
This commit is contained in:
Alexandre Julliard 2005-02-23 21:03:15 +00:00
parent 2db20ef1f0
commit afcab24230
6 changed files with 2 additions and 32 deletions

View File

@ -414,8 +414,6 @@ static void init_client(void)
void write_client(ifref_t *ifaces) void write_client(ifref_t *ifaces)
{ {
ifref_t *lcur = ifaces; ifref_t *lcur = ifaces;
char *file_id = client_token;
int c;
if (!do_client) if (!do_client)
return; return;

View File

@ -37,7 +37,6 @@
#include "utils.h" #include "utils.h"
#include "parser.h" #include "parser.h"
#include "header.h" #include "header.h"
#include "proxy.h"
#include "typelib.h" #include "typelib.h"
#if defined(YYBYACC) #if defined(YYBYACC)

View File

@ -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

View File

@ -142,6 +142,7 @@ unsigned int get_required_stack_size(type_t *type)
default: default:
error("Unknown/unsupported type: %s\n", type->name); error("Unknown/unsupported type: %s\n", type->name);
return 0;
} }
} }
@ -424,8 +425,6 @@ static void init_server(void)
void write_server(ifref_t *ifaces) void write_server(ifref_t *ifaces)
{ {
ifref_t *lcur = ifaces; ifref_t *lcur = ifaces;
char *file_id = server_token;
int c;
if (!do_server) if (!do_server)
return; return;

View File

@ -36,7 +36,6 @@
#include "widl.h" #include "widl.h"
#include "utils.h" #include "utils.h"
#include "parser.h" #include "parser.h"
#include "proxy.h"
#include "wine/wpp.h" #include "wine/wpp.h"
/* future options to reserve characters for: */ /* future options to reserve characters for: */

View File

@ -60,6 +60,7 @@ extern int char_number;
extern FILE* header; extern FILE* header;
extern void write_proxies(ifref_t *ifaces);
extern void write_client(ifref_t *ifaces); extern void write_client(ifref_t *ifaces);
extern void write_server(ifref_t *ifaces); extern void write_server(ifref_t *ifaces);