Really eliminated includes of the "temporary" backwards compatibility

header <sys/dir.h> in applications.  My previous sweep didn't find the
places that included it without needing it.
This commit is contained in:
Bruce Evans 1996-09-24 08:43:04 +00:00
parent 0c8ea4d48c
commit 4523edce8b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=18486
5 changed files with 15 additions and 5 deletions

View File

@ -34,7 +34,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include <stdio.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/dir.h>
#include <signal.h>
#include <sys/user.h> /* After a.out.h */

View File

@ -29,7 +29,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* These are needed on various systems to expand REGISTER_U_ADDR. */
#ifndef USG
#include <sys/dir.h>
#include <sys/file.h>
#include <sys/stat.h>
#include <sys/user.h>

View File

@ -28,7 +28,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#endif
#include <sys/param.h>
#include <sys/dir.h>
#include <signal.h>
#include <sys/ioctl.h>

View File

@ -41,7 +41,6 @@ static char sccsid[] = "@(#)pigs.c 8.2 (Berkeley) 9/23/93";
#include <sys/param.h>
#include <sys/dkstat.h>
#include <sys/dir.h>
#include <sys/time.h>
#include <sys/proc.h>
#include <sys/user.h>

View File

@ -42,6 +42,21 @@
* across the network to save BandWidth
*
* $Log: supfilesrv.c,v $
* Revision 1.5 1996/09/06 15:40:08 peter
* Rewrite part of the compression support so that it does not leave
* files in /var/tmp. Sup needs to send the file size, so that
* prevents running gzip in a pipeline (sigh).
*
* It now opens a temporary file, and immediately unlinks it. It sends
* gzip's output to the temp file, and when gzip is done, it rewinds the
* file and sends it. When the last fd is closed, the file storage is
* reclaimed. With luck, this will stop those 15MB
* gzip < emacs-19.30.tgz > /var/tmp/tmp.xxxx files from being left behind
* and blowing out /var on freefall.
*
* While I have the platform, let me quote a fortune entry which sup reminds
* me of: "It is a crock of sh!t, and it stinks!"
*
* Revision 1.4 1996/02/06 19:03:58 pst
* make setproctitle display smaller
*
@ -268,7 +283,6 @@
#include <sys/wait.h>
#include <sys/stat.h>
#include <sys/file.h>
#include <sys/dir.h>
#if MACH
#include <sys/ioctl.h>
#endif