summaryrefslogtreecommitdiffstats
path: root/lib/libalias
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1999-03-24 20:28:58 +0000
committerbrian <brian@FreeBSD.org>1999-03-24 20:28:58 +0000
commitf046bc6b79f07e0df06c034c859831b94841eeed (patch)
tree41dd6ba30a0b7118318ed4a79fde9ed4a8a9337a /lib/libalias
parent459145cd19d725e4ba64bd4da208be38843501d1 (diff)
downloadFreeBSD-src-f046bc6b79f07e0df06c034c859831b94841eeed.zip
FreeBSD-src-f046bc6b79f07e0df06c034c859831b94841eeed.tar.gz
Add a ``const'' and remove some inconsistent prototype args.
Diffstat (limited to 'lib/libalias')
-rw-r--r--lib/libalias/alias.h4
-rw-r--r--lib/libalias/alias_local.h2
-rw-r--r--lib/libalias/alias_proxy.c2
3 files changed, 4 insertions, 4 deletions
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:
OpenPOWER on IntegriCloud