Source-Changes-HG archive

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

[src/trunk]: src/sys/compat/common make this compile again (enable #if 0 code)



details:   https://anonhg.NetBSD.org/src/rev/48a6776b5c5d
branches:  trunk
changeset: 447862:48a6776b5c5d
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 27 03:00:48 2019 +0000

description:
make this compile again (enable #if 0 code)

diffstat:

 sys/compat/common/ccd_60.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (34 lines):

diff -r e89b45d15d2e -r 48a6776b5c5d sys/compat/common/ccd_60.c
--- a/sys/compat/common/ccd_60.c        Sun Jan 27 02:58:47 2019 +0000
+++ b/sys/compat/common/ccd_60.c        Sun Jan 27 03:00:48 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ccd_60.c,v 1.8 2019/01/27 02:08:39 pgoyette Exp $      */
+/*     $NetBSD: ccd_60.c,v 1.9 2019/01/27 03:00:48 christos Exp $      */
 
 /*-
  * Copyright (c) 2018 The NetBSD Foundation, Inc.
@@ -26,7 +26,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ccd_60.c,v 1.8 2019/01/27 02:08:39 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ccd_60.c,v 1.9 2019/01/27 03:00:48 christos Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_compat_netbsd.h"
@@ -46,7 +46,6 @@
  * sizeof (size_t) == sizeof (uint64_t) as CCDIOCSET will
  * be the same as CCDIOCSET_60
  */
-#if 0
 static int
 compat_60_ccdioctl(dev_t dev, u_long cmd, void *data, int flag, struct lwp *l,
     int (*f)(dev_t, u_long, void *, int, struct lwp *))
@@ -91,7 +90,6 @@
                return ENOSYS;
        }
 }
-#endif
 
 void
 ccd_60_init(void)



Home | Main Index | Thread Index | Old Index