summaryrefslogtreecommitdiff
path: root/lib/libutil
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1999-08-17 09:13:17 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1999-08-17 09:13:17 +0000
commit63b7a98cc57e3a3fbf4e70bcd27a4eb65721c359 (patch)
tree04f5f18255e1ed724e1267f93be97b3001966d2b /lib/libutil
parentfe89691a2e6a46dc13e58dde591c3c37ac355e5c (diff)
More <sys/file.h> vs. <fcntl.h> and open() flags fixes.
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/logwtmp.c6
-rw-r--r--lib/libutil/uucplock.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/libutil/logwtmp.c b/lib/libutil/logwtmp.c
index 31bb3e5b28d..cc9df123b09 100644
--- a/lib/libutil/logwtmp.c
+++ b/lib/libutil/logwtmp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: logwtmp.c,v 1.3 1996/06/17 07:46:03 downsj Exp $ */
+/* $OpenBSD: logwtmp.c,v 1.4 1999/08/17 09:13:13 millert Exp $ */
/*
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
@@ -34,14 +34,14 @@
#if defined(LIBC_SCCS) && !defined(lint)
/* from: static char sccsid[] = "@(#)logwtmp.c 8.1 (Berkeley) 6/4/93"; */
-static char *rcsid = "$Id: logwtmp.c,v 1.3 1996/06/17 07:46:03 downsj Exp $";
+static char *rcsid = "$Id: logwtmp.c,v 1.4 1999/08/17 09:13:13 millert Exp $";
#endif /* LIBC_SCCS and not lint */
#include <sys/types.h>
-#include <sys/file.h>
#include <sys/time.h>
#include <sys/stat.h>
+#include <fcntl.h>
#include <string.h>
#include <unistd.h>
#include <utmp.h>
diff --git a/lib/libutil/uucplock.c b/lib/libutil/uucplock.c
index 4fa41288c0e..1517895bd28 100644
--- a/lib/libutil/uucplock.c
+++ b/lib/libutil/uucplock.c
@@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: uucplock.c,v 1.5 1999/03/16 01:26:02 brian Exp $
+ * $Id: uucplock.c,v 1.6 1999/08/17 09:13:13 millert Exp $
*
*/
@@ -39,9 +39,9 @@ static const char sccsid[] = "@(#)uucplock.c 8.1 (Berkeley) 6/6/93";
#endif /* not lint */
#include <sys/types.h>
-#include <sys/file.h>
#include <dirent.h>
#include <errno.h>
+#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
#include <stdio.h>