From f046bc6b79f07e0df06c034c859831b94841eeed Mon Sep 17 00:00:00 2001 From: brian Date: Wed, 24 Mar 1999 20:28:58 +0000 Subject: Add a ``const'' and remove some inconsistent prototype args. --- lib/libalias/alias.h | 4 ++-- lib/libalias/alias_local.h | 2 +- lib/libalias/alias_proxy.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libalias') diff --git a/lib/libalias/alias.h b/lib/libalias/alias.h index 14325f4..d3c2fd4 100644 --- a/lib/libalias/alias.h +++ b/lib/libalias/alias.h @@ -7,7 +7,7 @@ This software is placed into the public domain with no restrictions on its distribution. - $Id: alias.h,v 1.8 1998/04/19 21:42:05 brian Exp $ + $Id: alias.h,v 1.9 1999/02/27 02:16:01 brian Exp $ */ @@ -88,7 +88,7 @@ struct alias_link; /* Transparent Proxying */ extern int - PacketAliasProxyRule(char *); + PacketAliasProxyRule(const char *); /********************** Mode flags ********************/ diff --git a/lib/libalias/alias_local.h b/lib/libalias/alias_local.h index da45125..23b04a8 100644 --- a/lib/libalias/alias_local.h +++ b/lib/libalias/alias_local.h @@ -144,7 +144,7 @@ void HouseKeeping(void); void AliasHandleFtpOut(struct ip *, struct alias_link *, int); /* IRC routines */ -void AliasHandleIrcOut(struct ip *pip, struct alias_link *link, int maxsize ); +void AliasHandleIrcOut(struct ip *, struct alias_link *, int); /* NetBIOS routines */ int AliasHandleUdpNbt(struct ip *, struct alias_link *, struct in_addr *, u_short); diff --git a/lib/libalias/alias_proxy.c b/lib/libalias/alias_proxy.c index 41f016c..60437bf 100644 --- a/lib/libalias/alias_proxy.c +++ b/lib/libalias/alias_proxy.c @@ -487,7 +487,7 @@ ProxyModify(struct alias_link *link, */ int -PacketAliasProxyRule(char *cmd) +PacketAliasProxyRule(const char *cmd) { /* * This function takes command strings of the form: -- cgit v1.1