Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jul 2011 02:51:27 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r223779 - stable/8/usr.bin/lastcomm
Message-ID:  <201107050251.p652pRlP044918@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Tue Jul  5 02:51:27 2011
New Revision: 223779
URL: http://svn.freebsd.org/changeset/base/223779

Log:
  MFC r223375:
  
  Remove unneeded headers.

Modified:
  stable/8/usr.bin/lastcomm/lastcomm.c
  stable/8/usr.bin/lastcomm/readrec.c
Directory Properties:
  stable/8/usr.bin/lastcomm/   (props changed)

Modified: stable/8/usr.bin/lastcomm/lastcomm.c
==============================================================================
--- stable/8/usr.bin/lastcomm/lastcomm.c	Tue Jul  5 02:50:27 2011	(r223778)
+++ stable/8/usr.bin/lastcomm/lastcomm.c	Tue Jul  5 02:51:27 2011	(r223779)
@@ -52,8 +52,6 @@ __FBSDID("$FreeBSD$");
 #include <ctype.h>
 #include <err.h>
 #include <errno.h>
-#include <fcntl.h>
-#include <grp.h>
 #include <pwd.h>
 #include <stdio.h>
 #include <stdlib.h>

Modified: stable/8/usr.bin/lastcomm/readrec.c
==============================================================================
--- stable/8/usr.bin/lastcomm/readrec.c	Tue Jul  5 02:50:27 2011	(r223778)
+++ stable/8/usr.bin/lastcomm/readrec.c	Tue Jul  5 02:51:27 2011	(r223779)
@@ -33,13 +33,9 @@ __FBSDID("$FreeBSD$");
 #include <sys/types.h>
 #include <sys/acct.h>
 
-#include <ctype.h>
-#include <err.h>
 #include <errno.h>
-#include <fcntl.h>
 #include <stddef.h>
 #include <stdio.h>
-#include <stdlib.h>
 #include <string.h>
 
 int	 readrec_forward(FILE *f, struct acctv2 *av2);



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