Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sbin need <sys/stat.h>
details: https://anonhg.NetBSD.org/src/rev/6b7bd2ca285b
branches: trunk
changeset: 820511:6b7bd2ca285b
user: christos <christos%NetBSD.org@localhost>
date: Tue Jan 10 20:53:09 2017 +0000
description:
need <sys/stat.h>
diffstat:
sbin/fsck_v7fs/fsck_v7fs.c | 11 +++++++----
sbin/newfs_v7fs/newfs_v7fs.c | 10 ++++++----
2 files changed, 13 insertions(+), 8 deletions(-)
diffs (67 lines):
diff -r a57cedf558bd -r 6b7bd2ca285b sbin/fsck_v7fs/fsck_v7fs.c
--- a/sbin/fsck_v7fs/fsck_v7fs.c Tue Jan 10 20:49:20 2017 +0000
+++ b/sbin/fsck_v7fs/fsck_v7fs.c Tue Jan 10 20:53:09 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fsck_v7fs.c,v 1.1 2011/06/27 11:52:58 uch Exp $ */
+/* $NetBSD: fsck_v7fs.c,v 1.2 2017/01/10 20:54:10 christos Exp $ */
/*-
* Copyright (c) 2004, 2011 The NetBSD Foundation, Inc.
@@ -31,17 +31,20 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: fsck_v7fs.c,v 1.1 2011/06/27 11:52:58 uch Exp $");
+__RCSID("$NetBSD: fsck_v7fs.c,v 1.2 2017/01/10 20:54:10 christos Exp $");
#endif /* not lint */
+#include <sys/types.h>
+#include <sys/disklabel.h>
+#include <sys/ioctl.h>
+#include <sys/stat.h>
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <err.h>
-#include <sys/ioctl.h>
-#include <sys/disklabel.h>
#include <fs/v7fs/v7fs.h>
#include "v7fs_impl.h"
diff -r a57cedf558bd -r 6b7bd2ca285b sbin/newfs_v7fs/newfs_v7fs.c
--- a/sbin/newfs_v7fs/newfs_v7fs.c Tue Jan 10 20:49:20 2017 +0000
+++ b/sbin/newfs_v7fs/newfs_v7fs.c Tue Jan 10 20:53:09 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: newfs_v7fs.c,v 1.4 2015/06/16 23:18:55 christos Exp $ */
+/* $NetBSD: newfs_v7fs.c,v 1.5 2017/01/10 20:53:09 christos Exp $ */
/*-
* Copyright (c) 2004, 2011 The NetBSD Foundation, Inc.
@@ -31,19 +31,21 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: newfs_v7fs.c,v 1.4 2015/06/16 23:18:55 christos Exp $");
+__RCSID("$NetBSD: newfs_v7fs.c,v 1.5 2017/01/10 20:53:09 christos Exp $");
#endif /* not lint */
#include <sys/types.h>
#include <sys/param.h>
+#include <sys/disklabel.h>
+#include <sys/ioctl.h>
+#include <sys/stat.h>
+
#include <err.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcntl.h>
-#include <sys/ioctl.h>
-#include <sys/disklabel.h>
#include <fs/v7fs/v7fs.h>
#include "v7fs_impl.h"
Home |
Main Index |
Thread Index |
Old Index