Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/pgoyette-localcount]: src/sys/kern Add module initializers in the pmax-s...
details: https://anonhg.NetBSD.org/src/rev/721755d8b0e7
branches: pgoyette-localcount
changeset: 852882:721755d8b0e7
user: pgoyette <pgoyette%NetBSD.org@localhost>
date: Fri Jul 29 02:28:38 2016 +0000
description:
Add module initializers in the pmax-specific copies of the [bc]devsw's
diffstat:
sys/kern/tty_pty.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 92528238fc93 -r 721755d8b0e7 sys/kern/tty_pty.c
--- a/sys/kern/tty_pty.c Fri Jul 29 02:19:52 2016 +0000
+++ b/sys/kern/tty_pty.c Fri Jul 29 02:28:38 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tty_pty.c,v 1.142.2.6 2016/07/29 02:19:52 pgoyette Exp $ */
+/* $NetBSD: tty_pty.c,v 1.142.2.7 2016/07/29 02:28:38 pgoyette Exp $ */
/*
* Copyright (c) 1982, 1986, 1989, 1993
@@ -37,7 +37,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.142.2.6 2016/07/29 02:19:52 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tty_pty.c,v 1.142.2.7 2016/07/29 02:28:38 pgoyette Exp $");
#include "opt_ptm.h"
@@ -151,6 +151,7 @@
*/
const struct cdevsw ptc_ultrix_cdevsw = {
+ DEVSW_MODULE_INIT
.d_open = ptcopen,
.d_close = ptcclose,
.d_read = ptcread,
@@ -166,6 +167,7 @@
};
const struct cdevsw pts_ultrix_cdevsw = {
+ DEVSW_MODULE_INIT
.d_open = ptsopen,
.d_close = ptsclose,
.d_read = ptsread,
Home |
Main Index |
Thread Index |
Old Index