diff options
author | luigi <luigi@FreeBSD.org> | 2009-01-27 10:18:55 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2009-01-27 10:18:55 +0000 |
commit | 80a7476516826d36a4d351787cfe847b666aa55a (patch) | |
tree | a1a40a84f3213075ec4e957b2dfc8b2f1ee5a02e /sbin/ipfw/Makefile | |
parent | 5b66cc0d53742e78e265b5587f7841f9c899d031 (diff) | |
download | FreeBSD-src-80a7476516826d36a4d351787cfe847b666aa55a.zip FreeBSD-src-80a7476516826d36a4d351787cfe847b666aa55a.tar.gz |
Start splitting the monster file in smaller blocks.
In this episode:
- introduce a common header with a minimal set of common definitions;
- bring the main() function and options parser in main.c
- rename the main functions with an ipfw_ prefix
No code changes except for the introduction of a global variable,
resvd_set_number, which stores the RESVD_SET value from ip_fw.h
and is used to remove the dependency of main.c from ip_fw.h
(and the subtree of dependencies) for just a single constant.
Diffstat (limited to 'sbin/ipfw/Makefile')
-rw-r--r-- | sbin/ipfw/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/Makefile b/sbin/ipfw/Makefile index 06dd40f..34e850b 100644 --- a/sbin/ipfw/Makefile +++ b/sbin/ipfw/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PROG= ipfw -SRCS= ipfw2.c +SRCS= ipfw2.c main.c WARNS?= 2 MAN= ipfw.8 |