1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-04 23:35:36 -08:00

remove some unnecessary sys/cdefs.h inclusions

This commit is contained in:
deraadt 2012-12-04 02:26:59 +00:00
parent f4faee9106
commit 75f929694c
9 changed files with 9 additions and 25 deletions

View File

@ -1,4 +1,4 @@
/* $OpenBSD: extern.h,v 1.12 2006/04/25 15:41:07 deraadt Exp $ */
/* $OpenBSD: extern.h,v 1.13 2012/12/04 02:26:59 deraadt Exp $ */
/* $NetBSD: extern.h,v 1.3 1995/03/21 09:02:16 cgd Exp $ */
/*-
@ -44,8 +44,6 @@ extern int fflag, iflag, pflag;
extern mode_t myumask;
extern char *__progname;
#include <sys/cdefs.h>
__BEGIN_DECLS
int copy_fifo(struct stat *, int);
int copy_file(FTSENT *, int);

View File

@ -1,4 +1,4 @@
/* $OpenBSD: extern.h,v 1.7 2003/06/25 21:12:30 deraadt Exp $ */
/* $OpenBSD: extern.h,v 1.8 2012/12/04 02:27:00 deraadt Exp $ */
/* $NetBSD: extern.h,v 1.7 1996/02/20 19:29:07 jtc Exp $ */
/*-
@ -36,8 +36,6 @@
* @(#)extern.h 8.3 (Berkeley) 4/2/94
*/
#include <sys/cdefs.h>
void block(void);
void block_close(void);
void dd_out(int);

View File

@ -1,11 +1,9 @@
/* $OpenBSD: main.c,v 1.3 2003/06/11 23:42:12 deraadt Exp $ */
/* $OpenBSD: main.c,v 1.4 2012/12/04 02:27:00 deraadt Exp $ */
/*
* Public domain - no warranty.
*/
#include <sys/cdefs.h>
int ls_main(int argc, char **argv);
int

View File

@ -1,4 +1,4 @@
/* $OpenBSD: extern.h,v 1.34 2010/12/02 04:08:27 tedu Exp $ */
/* $OpenBSD: extern.h,v 1.35 2012/12/04 02:27:00 deraadt Exp $ */
/* $NetBSD: extern.h,v 1.5 1996/03/26 23:54:16 mrg Exp $ */
/*-
@ -40,8 +40,6 @@
* External references from each source file
*/
#include <sys/cdefs.h>
/*
* ar_io.c
*/

View File

@ -1,4 +1,4 @@
/* $OpenBSD: mount_msdos.c,v 1.26 2012/07/09 12:58:01 krw Exp $ */
/* $OpenBSD: mount_msdos.c,v 1.27 2012/12/04 02:27:00 deraadt Exp $ */
/* $NetBSD: mount_msdos.c,v 1.16 1996/10/24 00:12:50 cgd Exp $ */
/*
@ -31,7 +31,6 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/stat.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: mke2fs.c,v 1.3 2011/03/12 17:50:48 deraadt Exp $ */
/* $OpenBSD: mke2fs.c,v 1.4 2012/12/04 02:27:00 deraadt Exp $ */
/* $NetBSD: mke2fs.c,v 1.13 2009/10/19 18:41:08 bouyer Exp $ */
/*-
@ -97,8 +97,6 @@
* in the Linux kernel distribution
*/
#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/mman.h>
#include <sys/time.h>

View File

@ -1,4 +1,4 @@
/* $OpenBSD: newfs_ext2fs.c,v 1.6 2010/05/18 04:41:14 dlg Exp $ */
/* $OpenBSD: newfs_ext2fs.c,v 1.7 2012/12/04 02:27:00 deraadt Exp $ */
/* $NetBSD: newfs_ext2fs.c,v 1.8 2009/03/02 10:38:13 tsutsui Exp $ */
/*
@ -30,8 +30,6 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
/*
* newfs: friendly front end to mke2fs
*/

View File

@ -1,4 +1,4 @@
/* $OpenBSD: libscsi.h,v 1.2 2008/01/13 20:23:34 chl Exp $ */
/* $OpenBSD: libscsi.h,v 1.3 2012/12/04 02:27:00 deraadt Exp $ */
/* Copyright (c) 1994 HD Associates (hd@world.std.com)
* All rights reserved.
@ -34,8 +34,6 @@
#ifndef _SCSI_H_
#define _SCSI_H_
#include <sys/cdefs.h>
/* libscsi: Library header file for the SCSI user library.
*/

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ttyflags.c,v 1.12 2009/10/27 23:59:34 deraadt Exp $ */
/* $OpenBSD: ttyflags.c,v 1.13 2012/12/04 02:27:00 deraadt Exp $ */
/* $NetBSD: ttyflags.c,v 1.8 1996/04/09 05:20:30 cgd Exp $ */
/*
@ -33,7 +33,6 @@
*/
#include <sys/types.h>
#include <sys/cdefs.h>
#include <sys/ioctl.h>
#include <err.h>