Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/autofs autofs: Remove unneeded header include



details:   https://anonhg.NetBSD.org/src/rev/657e50cce641
branches:  trunk
changeset: 461104:657e50cce641
user:      tkusumi <tkusumi%NetBSD.org@localhost>
date:      Sat Nov 16 11:56:29 2019 +0000

description:
autofs: Remove unneeded header include

common.c doesn't depend on autofs or its ioctls.

diffstat:

 usr.sbin/autofs/common.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 67047b3aa135 -r 657e50cce641 usr.sbin/autofs/common.c
--- a/usr.sbin/autofs/common.c  Sat Nov 16 11:50:58 2019 +0000
+++ b/usr.sbin/autofs/common.c  Sat Nov 16 11:56:29 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: common.c,v 1.1 2018/01/09 03:31:15 christos Exp $      */
+/*     $NetBSD: common.c,v 1.2 2019/11/16 11:56:29 tkusumi Exp $       */
 
 /*-
  * Copyright (c) 2017 The NetBSD Foundation, Inc.
@@ -36,7 +36,7 @@
  * $FreeBSD: head/usr.sbin/autofs/common.c 303527 2016-07-30 01:10:05Z bapt $
  */
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: common.c,v 1.1 2018/01/09 03:31:15 christos Exp $");
+__RCSID("$NetBSD: common.c,v 1.2 2019/11/16 11:56:29 tkusumi Exp $");
 
 #include <sys/types.h>
 #include <sys/stat.h>
@@ -50,7 +50,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <unistd.h>
-#include <fs/autofs/autofs_ioctl.h>
 
 #include "common.h"
 



Home | Main Index | Thread Index | Old Index