Add a ``const'' and remove some inconsistent prototype args.

This commit is contained in:
Brian Somers 1999-03-24 20:28:58 +00:00
parent 222b8f6a91
commit 942759e756
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=45008
6 changed files with 8 additions and 8 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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