Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2009 20:59:20 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/usr.sbin/ipfwpcap Makefile ipfwpcap.c
Message-ID:  <200905312059.n4VKxat8044429@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
ed          2009-05-31 20:59:20 UTC

  FreeBSD src repository

  Modified files:
    usr.sbin/ipfwpcap    Makefile ipfwpcap.c 
  Log:
  SVN rev 193188 on 2009-05-31 20:59:20Z by ed
  
  Several cleanups to ipfwpcap(8).
  
  - Enable WARNS?=6.
  - Include missing headers.
  - Mark prog and pidfile as static. Remove unneeded initializer.
  - Use ANSI prototypes.
  - Remove unneeded fp variable.
  - snprintf() guarantees the buffer to be null terminated. Remove
    unneeded - 1 and bzero call.
  - Remove unneeded casting.
  
  Submitted by:   Pawel Worach, Christoph Mallon
  
  Revision  Changes    Path
  1.3       +2 -0      src/usr.sbin/ipfwpcap/Makefile
  1.4       +61 -64    src/usr.sbin/ipfwpcap/ipfwpcap.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905312059.n4VKxat8044429>