Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/sunlabel <sys/fcntl.h> -> <fcntl.h> in previous. A...



details:   https://anonhg.NetBSD.org/src/rev/fc28f045e7c8
branches:  trunk
changeset: 555234:fc28f045e7c8
user:      kleink <kleink%NetBSD.org@localhost>
date:      Wed Nov 12 12:06:24 2003 +0000

description:
<sys/fcntl.h> -> <fcntl.h> in previous.  Also, remove inclusion of
<sys/file.h>, which seems to be the intention of the previous change.

diffstat:

 usr.sbin/sunlabel/sunlabel.c |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (32 lines):

diff -r e4a252cd3bbd -r fc28f045e7c8 usr.sbin/sunlabel/sunlabel.c
--- a/usr.sbin/sunlabel/sunlabel.c      Wed Nov 12 11:58:34 2003 +0000
+++ b/usr.sbin/sunlabel/sunlabel.c      Wed Nov 12 12:06:24 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunlabel.c,v 1.12 2003/11/12 02:17:53 matt Exp $ */
+/* $NetBSD: sunlabel.c,v 1.13 2003/11/12 12:06:24 kleink Exp $ */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -38,11 +38,12 @@
 
 #include <sys/cdefs.h>
 #if defined(__RCSID) && !defined(lint)
-__RCSID("$NetBSD: sunlabel.c,v 1.12 2003/11/12 02:17:53 matt Exp $");
+__RCSID("$NetBSD: sunlabel.c,v 1.13 2003/11/12 12:06:24 kleink Exp $");
 #endif
 
 #include <stdio.h>
 #include <errno.h>
+#include <fcntl.h>
 #include <ctype.h>
 #include <stdlib.h>
 #include <unistd.h>
@@ -54,8 +55,6 @@
 #include <inttypes.h>
 #include <err.h>
 
-#include <sys/fcntl.h>
-#include <sys/file.h>
 #include <sys/ioctl.h>
 
 /* If neither S_COMMAND nor NO_S_COMMAND is defined, guess. */



Home | Main Index | Thread Index | Old Index