summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1999-03-24 20:32:59 +0000
committerbrian <brian@cvs.openbsd.org>1999-03-24 20:32:59 +0000
commita9d57556243407bf7258c179789498815003087f (patch)
tree139de80acc56a302d0d4f7c9da679ff012d1ce16 /usr.sbin
parent0351bd3e98a6ea8e012a9e5a6481ee95e3ea0f65 (diff)
Add a ``const'' and remove some inconsistent prototype args.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ppp/alias.h4
-rw-r--r--usr.sbin/ppp/ppp/alias_local.h2
-rw-r--r--usr.sbin/ppp/ppp/alias_proxy.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/ppp/ppp/alias.h b/usr.sbin/ppp/ppp/alias.h
index 89705bb2930..4d8657ff745 100644
--- a/usr.sbin/ppp/ppp/alias.h
+++ b/usr.sbin/ppp/ppp/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.2 1999/03/08 01:40:22 brian Exp $
+ $Id: alias.h,v 1.3 1999/03/24 20:32:58 brian Exp $
*/
@@ -88,7 +88,7 @@ struct alias_link;
/* Transparent Proxying */
extern int
- PacketAliasProxyRule(char *);
+ PacketAliasProxyRule(const char *);
/********************** Mode flags ********************/
diff --git a/usr.sbin/ppp/ppp/alias_local.h b/usr.sbin/ppp/ppp/alias_local.h
index da451259cdf..23b04a83285 100644
--- a/usr.sbin/ppp/ppp/alias_local.h
+++ b/usr.sbin/ppp/ppp/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/usr.sbin/ppp/ppp/alias_proxy.c b/usr.sbin/ppp/ppp/alias_proxy.c
index 41f016cd62b..60437bfafd2 100644
--- a/usr.sbin/ppp/ppp/alias_proxy.c
+++ b/usr.sbin/ppp/ppp/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: