Date: Thu, 22 Jan 2009 23:25:28 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r187604 - head/sbin/ipfw Message-ID: <200901222325.n0MNPSnD025183@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: luigi Date: Thu Jan 22 23:25:28 2009 New Revision: 187604 URL: http://svn.freebsd.org/changeset/base/187604 Log: remove some useless #include, document why timeconv.h is needed MFC after: 3 days Modified: head/sbin/ipfw/ipfw2.c Modified: head/sbin/ipfw/ipfw2.c ============================================================================== --- head/sbin/ipfw/ipfw2.c Thu Jan 22 22:29:21 2009 (r187603) +++ head/sbin/ipfw/ipfw2.c Thu Jan 22 23:25:28 2009 (r187604) @@ -20,30 +20,24 @@ * $FreeBSD$ */ -#include <sys/param.h> -#include <sys/mbuf.h> +#include <sys/types.h> #include <sys/socket.h> #include <sys/sockio.h> #include <sys/sysctl.h> -#include <sys/time.h> #include <sys/wait.h> -#include <sys/queue.h> #include <ctype.h> #include <err.h> #include <errno.h> #include <grp.h> -#include <limits.h> #include <netdb.h> #include <pwd.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> -#include <stdarg.h> #include <string.h> -#include <timeconv.h> /* XXX do we need this ? */ -#include <unistd.h> #include <sysexits.h> +#include <timeconv.h> /* _long_to_time */ #include <unistd.h> #include <fcntl.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901222325.n0MNPSnD025183>