From 4a8dbddf92f65906eba543a62cba039405fe8084 Mon Sep 17 00:00:00 2001 From: Fish <> Date: Wed, 29 Oct 2003 12:11:16 +0000 Subject: [PATCH] fix compiler warnings --- opsb.h | 5 +++++ proxy.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/opsb.h b/opsb.h index 3694875..c19444d 100644 --- a/opsb.h +++ b/opsb.h @@ -138,5 +138,10 @@ void start_proxy_scan(lnode_t *scannode); void send_status(User *u); void check_scan_free(scaninfo *scandata); int init_libopm(); +char *type_of_proxy(int type); +int get_proxy_by_name(const char *name); +void add_port(int type, int port); +int load_ports(); + #endif /* OPSB_H */ diff --git a/proxy.c b/proxy.c index c3c8e01..5d34305 100644 --- a/proxy.c +++ b/proxy.c @@ -116,7 +116,6 @@ int load_ports() { } int init_libopm() { - int i, portcount; lnode_t *pn; port_list *pl; @@ -162,7 +161,9 @@ int init_libopm() { void open_proxy(OPM_T *scanner, OPM_REMOTE_T *remote, int notused, void *unused) { +#if 0 FILE *fp; +#endif scaninfo *scandata; SET_SEGV_LOCATION();