diff options
author | brian <brian@FreeBSD.org> | 2001-03-25 12:05:10 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2001-03-25 12:05:10 +0000 |
commit | 8636c82fbe89e0c9e7f267748daf604107fcdde6 (patch) | |
tree | 8a3d0ceea68e13ad44020d4184805c7d11016b75 /lib/libalias/alias_db.c | |
parent | 9fbad51d2a7920c62f888816f840b0f3074b80eb (diff) | |
download | FreeBSD-src-8636c82fbe89e0c9e7f267748daf604107fcdde6.zip FreeBSD-src-8636c82fbe89e0c9e7f267748daf604107fcdde6.tar.gz |
Make header files conform to style(9).
Reviewed by (*): bde
(*) alias_local.h only got a cursory glance.
Diffstat (limited to 'lib/libalias/alias_db.c')
-rw-r--r-- | lib/libalias/alias_db.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libalias/alias_db.c b/lib/libalias/alias_db.c index f926239..60d425f 100644 --- a/lib/libalias/alias_db.c +++ b/lib/libalias/alias_db.c @@ -2634,12 +2634,6 @@ do { \ } /*lint -save -e717 */ while(0) /*lint -restore */ #define fw_tstfield(field, num) ((field)[(num) - fireWallBaseNum]) -void -PacketAliasSetFWBase(unsigned int base, unsigned int num) { - fireWallBaseNum = base; - fireWallNumNums = num; -} - static void InitPunchFW(void) { fireWallField = malloc(fireWallNumNums); @@ -2784,3 +2778,11 @@ ClearAllFWHoles(void) { memset(fireWallField, 0, fireWallNumNums); } #endif + +void +PacketAliasSetFWBase(unsigned int base, unsigned int num) { +#ifndef NO_FW_PUNCH + fireWallBaseNum = base; + fireWallNumNums = num; +#endif +} |