Permalink
Browse files

Remove unneeded inclusions of <sys/cdefs.h> throughout the tree.

  • Loading branch information...
1 parent 09c14b5 commit 5868d2b992a2278806b971a1899c3e71955a3573 Sascha Wildner committed Jun 17, 2012
Showing with 1 addition and 104 deletions.
  1. +0 −2 lib/libstand/netif.c
  2. +0 −2 lib/libstand/strcasecmp.c
  3. +0 −3 lib/libthread_xu/thread/thr_kern.c
  4. +0 −3 lib/libthread_xu/thread/thr_list.c
  5. +0 −3 lib/libthread_xu/thread/thr_printf.c
  6. +0 −2 lib/libutil/logwtmp.c
  7. +0 −2 lib/libutil/trimdomain.c
  8. +0 −3 lib/pam_module/pam_nologin/pam_nologin.c
  9. +0 −1 sbin/devfsctl/devfsctl.c
  10. +0 −2 sbin/fsck/fsutil.c
  11. +0 −4 sbin/fsck_msdosfs/boot.c
  12. +0 −4 sbin/fsck_msdosfs/check.c
  13. +0 −3 sbin/fsck_msdosfs/dir.c
  14. +0 −4 sbin/fsck_msdosfs/fat.c
  15. +0 −3 sbin/fsck_msdosfs/main.c
  16. +0 −2 sbin/iscontrol/auth_subr.c
  17. +0 −2 sbin/iscontrol/config.c
  18. +0 −2 sbin/iscontrol/fsm.c
  19. +0 −2 sbin/iscontrol/iscontrol.c
  20. +0 −2 sbin/iscontrol/login.c
  21. +0 −2 sbin/iscontrol/misc.c
  22. +0 −2 sbin/iscontrol/pdu.c
  23. +0 −3 sbin/kldstat/kldstat.c
  24. +0 −3 sbin/md5/md5.c
  25. +0 −1 sbin/mount_hpfs/mount_hpfs.c
  26. +0 −1 sbin/mount_ntfs/mount_ntfs.c
  27. +0 −2 sbin/savecore/savecore.c
  28. +0 −1 usr.bin/chat/chat.c
  29. +0 −3 usr.bin/ktrdump/ktrdump.c
  30. +0 −3 usr.bin/netstat/ipsec.c
  31. +0 −3 usr.bin/nl/nl.c
  32. +0 −2 usr.bin/stat/stat.c
  33. +0 −3 usr.bin/systat/icmp6.c
  34. +0 −3 usr.bin/systat/ip6.c
  35. +0 −2 usr.bin/systat/sensors.c
  36. +0 −2 usr.bin/telnet/sys_bsd.c
  37. +0 −2 usr.bin/tr/str.c
  38. +0 −1 usr.sbin/ancontrol/ancontrol.c
  39. +0 −2 usr.sbin/kbdmap/kbdmap.c
  40. +0 −2 usr.sbin/lastlogin/lastlogin.c
  41. +0 −3 usr.sbin/lpr/lpc/cmdtab.c
  42. +1 −1 usr.sbin/moused/moused.c
  43. +0 −4 usr.sbin/resident/resident.c
  44. +0 −2 usr.sbin/rpc.ypupdated/ypupdated_server.c
View
@@ -1,5 +1,4 @@
/* $NetBSD: netif.c,v 1.10 1997/09/06 13:57:14 drochner Exp $ */
-/* $DragonFly: src/lib/libstand/netif.c,v 1.3 2005/12/11 02:27:26 swildner Exp $ */
/*
* Copyright (c) 1993 Adam Glass
@@ -34,7 +33,6 @@
#include <sys/param.h>
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <sys/mount.h>
#include <string.h>
@@ -31,10 +31,8 @@
* SUCH DAMAGE.
*
* @(#)strcasecmp.c 8.1 (Berkeley) 6/4/93
- * $DragonFly: src/lib/libstand/strcasecmp.c,v 1.4 2005/12/11 02:27:26 swildner Exp $
*/
-#include <sys/cdefs.h>
#include <string.h>
#include "stand.h"
@@ -22,11 +22,8 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $DragonFly: src/lib/libthread_xu/thread/thr_kern.c,v 1.5 2008/09/30 16:57:06 swildner Exp $
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/signalvar.h>
#include <sys/rtprio.h>
@@ -23,11 +23,8 @@
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- *
- * $DragonFly: src/lib/libthread_xu/thread/thr_list.c,v 1.7 2006/04/06 13:03:09 davidxu Exp $
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/queue.h>
@@ -22,11 +22,8 @@
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
- *
- * $DragonFly: src/lib/libthread_xu/thread/thr_printf.c,v 1.1 2005/02/01 12:38:27 davidxu Exp $
*/
-#include <sys/cdefs.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
View
@@ -28,10 +28,8 @@
*
* @(#)logwtmp.c 8.1 (Berkeley) 6/4/93
* $FreeBSD: src/lib/libutil/logwtmp.c,v 1.14 2000/01/15 03:26:54 shin Exp $
- * $DragonFly: src/lib/libutil/logwtmp.c,v 1.5 2007/12/30 13:44:33 matthias Exp $
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/file.h>
#include <sys/socket.h>
View
@@ -1,4 +1,3 @@
-/* $DragonFly: src/lib/libutil/trimdomain.c,v 1.2 2005/03/04 04:31:11 cpressey Exp $ */
/*
* Copyright (c) 2001 Brian Somers <brian@Awfulhak.org>
* Based on original work by Atsushi Murai <amurai@FreeBSD.org>
@@ -28,7 +27,6 @@
* $FreeBSD: /repoman/r/ncvs/src/lib/libutil/trimdomain.c,v 1.5 2003/10/18 10:04:16 markm Exp $
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <string.h>
@@ -34,11 +34,8 @@
* SUCH DAMAGE.
*
* $FreeBSD: src/lib/libpam/modules/pam_nologin/pam_nologin.c,v 1.13 2007/06/14 13:07:06 yar Exp $
- * $DragonFly: src/lib/pam_module/pam_nologin/pam_nologin.c,v 1.1 2008/01/02 17:41:30 matthias Exp $
*/
-#include <sys/cdefs.h>
-
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
View
@@ -33,7 +33,6 @@
*/
#include <sys/types.h>
-#include <sys/cdefs.h>
#include <sys/syslimits.h>
#include <sys/ioctl.h>
#include <sys/device.h>
View
@@ -35,8 +35,6 @@
* $FreeBSD: src/sbin/fsck/fsutil.c,v 1.2.2.1 2001/08/01 05:47:55 obrien Exp $
*/
-#include <sys/cdefs.h>
-
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
View
@@ -31,12 +31,8 @@
*
* $NetBSD: boot.c,v 1.5 1997/10/17 11:19:23 ws Exp $
* $FreeBSD: src/sbin/fsck_msdosfs/boot.c,v 1.1.2.1 2001/08/01 05:47:55 obrien Exp $
- * $DragonFly: src/sbin/fsck_msdosfs/boot.c,v 1.3 2003/09/28 14:39:17 hmp Exp $
*/
-
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
@@ -31,12 +31,8 @@
*
* $NetBSD: check.c,v 1.10 2000/04/25 23:02:51 jdolecek Exp $
* $FreeBSD: src/sbin/fsck_msdosfs/check.c,v 1.1.2.1 2001/08/01 05:47:55 obrien Exp $
- * $DragonFly: src/sbin/fsck_msdosfs/check.c,v 1.3 2003/09/28 14:39:17 hmp Exp $
*/
-
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
View
@@ -35,9 +35,6 @@
* $FreeBSD: src/sbin/fsck_msdosfs/dir.c,v 1.1.2.1 2001/08/01 05:47:55 obrien Exp $
*/
-
-#include <sys/cdefs.h>
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
View
@@ -31,12 +31,8 @@
*
* $NetBSD: fat.c,v 1.12 2000/10/10 20:24:52 is Exp $
* $FreeBSD: src/sbin/fsck_msdosfs/fat.c,v 1.1.2.1 2001/08/01 05:47:56 obrien Exp $
- * $DragonFly: src/sbin/fsck_msdosfs/fat.c,v 1.4 2003/11/01 17:15:58 drhodus Exp $
*/
-
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
View
@@ -33,9 +33,6 @@
* $FreeBSD: src/sbin/fsck_msdosfs/main.c,v 1.4.2.1 2001/08/01 05:47:56 obrien Exp $
*/
-
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
@@ -29,8 +29,6 @@
| $Id: auth_subr.c,v 2.2 2007/06/01 08:09:37 danny Exp $
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
View
@@ -28,8 +28,6 @@
| $Id: config.c,v 2.1 2006/11/12 08:06:51 danny Exp danny $
*/
-#include <sys/cdefs.h>
-
#include <stdlib.h>
#include <unistd.h>
#include <stdio.h>
View
@@ -29,8 +29,6 @@
| $Id: fsm.c,v 2.8 2007/05/19 16:34:21 danny Exp danny $
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
@@ -31,8 +31,6 @@
| the user level initiator (client)
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
View
@@ -28,8 +28,6 @@
| $Id: login.c,v 1.4 2007/04/27 07:40:40 danny Exp danny $
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
View
@@ -29,8 +29,6 @@
| $Id: misc.c,v 2.1 2006/11/12 08:06:51 danny Exp $
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
#include <sys/types.h>
#include <sys/socket.h>
View
@@ -28,8 +28,6 @@
| $Id: pdu.c,v 2.2 2006/12/01 09:11:56 danny Exp danny $
*/
-#include <sys/cdefs.h>
-
#include <sys/types.h>
#include <sys/time.h>
#include <sys/uio.h>
View
@@ -24,11 +24,8 @@
* SUCH DAMAGE.
*
* $FreeBSD: src/sbin/kldstat/kldstat.c,v 1.20 2007/10/22 04:12:57 jb Exp $
- * $DragonFly: src/sbin/kldstat/kldstat.c,v 1.5 2008/01/08 15:27:57 matthias Exp $
*/
-#include <sys/cdefs.h>
-
#include <err.h>
#include <stdint.h>
#include <stdio.h>
View
@@ -4,7 +4,6 @@
* MDDRIVER.C - test driver for MD2, MD4 and MD5
*
* $FreeBSD: src/sbin/md5/md5.c,v 1.35 2006/01/17 15:35:57 phk Exp $
- * $DragonFly: src/sbin/md5/md5.c,v 1.4 2008/01/16 14:18:57 matthias Exp $
*/
/*
@@ -20,8 +19,6 @@
* documentation and/or software.
*/
-#include <sys/cdefs.h>
-
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
@@ -31,7 +31,6 @@
* $FreeBSD: src/sbin/mount_hpfs/mount_hpfs.c,v 1.1 1999/12/09 19:09:15 semenu Exp $
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/mount.h>
#include <sys/stat.h>
@@ -32,7 +32,6 @@
*
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#define NTFS
#include <sys/mount.h>
View
@@ -64,8 +64,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
#include <sys/kerneldump.h>
#include <sys/diskslice.h>
View
@@ -78,7 +78,6 @@
* $FreeBSD: src/usr.bin/chat/chat.c,v 1.21 2003/10/31 06:22:03 kientzle Exp $
*/
-#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <ctype.h>
@@ -25,11 +25,8 @@
* SUCH DAMAGE.
*
* $FreeBSD: src/usr.bin/ktrdump/ktrdump.c,v 1.10 2005/05/21 09:55:06 ru Exp $
- * $DragonFly: src/usr.bin/ktrdump/ktrdump.c,v 1.13 2008/11/10 02:05:31 swildner Exp $
*/
-#include <sys/cdefs.h>
-
#include <sys/types.h>
#include <sys/ktr.h>
#include <sys/mman.h>
View
@@ -1,5 +1,4 @@
/* $FreeBSD: src/usr.bin/netstat/ipsec.c,v 1.1.2.3 2001/08/10 09:07:09 ru Exp $ */
-/* $DragonFly: src/usr.bin/netstat/ipsec.c,v 1.2 2003/06/17 04:29:30 dillon Exp $ */
/* $NetBSD: inet.c,v 1.35.2.1 1999/04/29 14:57:08 perry Exp $ */
/* $KAME: ipsec.c,v 1.25 2001/03/12 09:04:39 itojun Exp $ */
@@ -68,8 +67,6 @@
* SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
-
#include <sys/param.h>
#include <sys/queue.h>
#include <sys/socket.h>
View
@@ -35,11 +35,8 @@
*
* @(#) Copyright (c) 1999 The NetBSD Foundation, Inc. All rights reserved.
* $FreeBSD: src/usr.bin/nl/nl.c,v 1.2.2.2 2002/07/15 06:18:43 tjr Exp $
- * $DragonFly: src/usr.bin/nl/nl.c,v 1.3 2003/10/04 20:36:49 hmp Exp $
*/
-#include <sys/cdefs.h>
-
#include <sys/types.h>
#include <err.h>
View
@@ -35,10 +35,8 @@
*
* $NetBSD: stat.c,v 1.13 2003/07/25 03:21:17 atatat Exp $
* $FreeBSD: src/usr.bin/stat/stat.c,v 1.6 2003/10/06 01:55:17 dougb Exp $
- * $DragonFly: src/usr.bin/stat/stat.c,v 1.6 2005/06/29 00:24:49 corecode Exp $
*/
-#include <sys/cdefs.h>
#if HAVE_CONFIG_H
#include "config.h"
#else /* HAVE_CONFIG_H */
View
@@ -32,11 +32,8 @@
*
* @(#)mbufs.c 8.1 (Berkeley) 6/6/93
* $FreeBSD: src/usr.bin/systat/icmp6.c,v 1.3 2006/04/30 04:47:23 bde Exp $
- * $DragonFly: src/usr.bin/systat/icmp6.c,v 1.3 2008/10/16 01:52:33 swildner Exp $
*/
-#include <sys/cdefs.h>
-
#ifdef INET6
#include <sys/param.h>
#include <sys/types.h>
View
@@ -32,11 +32,8 @@
*
* @(#)mbufs.c 8.1 (Berkeley) 6/6/93
* $FreeBSD: src/usr.bin/systat/ip6.c,v 1.3 2006/04/30 04:47:23 bde Exp $
- * $DragonFly: src/usr.bin/systat/ip6.c,v 1.2 2008/10/16 01:52:33 swildner Exp $
*/
-#include <sys/cdefs.h>
-
#ifdef INET6
#include <sys/param.h>
#include <sys/types.h>
View
@@ -1,5 +1,4 @@
/* $OpenBSD: sensors.c,v 1.11 2007/03/23 14:48:22 ckuethe Exp $ */
-/* $DragonFly: src/usr.bin/systat/sensors.c,v 1.2 2008/11/10 04:59:45 swildner Exp $ */
/*
* Copyright (c) 2007 Deanna Phillips <deanna@openbsd.org>
@@ -19,7 +18,6 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-#include <sys/cdefs.h>
#include <sys/param.h>
#include <sys/sysctl.h>
#include <sys/sensors.h>
View
@@ -32,11 +32,9 @@
*
* @(#)sys_bsd.c 8.4 (Berkeley) 5/30/95
* $FreeBSD: src/crypto/telnet/telnet/sys_bsd.c,v 1.2.8.4 2002/04/13 10:59:08 markm Exp $
- * $DragonFly: src/crypto/telnet/telnet/sys_bsd.c,v 1.2 2003/06/17 04:24:37 dillon Exp $
*/
-#include <sys/cdefs.h>
#include <stdlib.h>
#include <err.h>
Oops, something went wrong.

0 comments on commit 5868d2b

Please sign in to comment.