From d84441777fe1414e335c00ae686be753bf5b247f Mon Sep 17 00:00:00 2001 From: pooka Date: Wed, 15 Dec 2010 15:07:54 +0000 Subject: [PATCH] Don't need prog_ioctl here, it's a leftover of the previous approach. pointed out by Paul Goyette --- usr.sbin/envstat/envstat_hostops.c | 5 ++--- usr.sbin/envstat/envstat_rumpops.c | 5 ++--- usr.sbin/envstat/prog_ops.h | 4 +--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/usr.sbin/envstat/envstat_hostops.c b/usr.sbin/envstat/envstat_hostops.c index dada958d1ba4..8d4f2eaedd68 100644 --- a/usr.sbin/envstat/envstat_hostops.c +++ b/usr.sbin/envstat/envstat_hostops.c @@ -1,4 +1,4 @@ -/* $NetBSD: envstat_hostops.c,v 1.1 2010/12/13 18:00:38 pooka Exp $ */ +/* $NetBSD: envstat_hostops.c,v 1.2 2010/12/15 15:07:54 pooka Exp $ */ /* * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ #include #ifndef lint -__RCSID("$NetBSD: envstat_hostops.c,v 1.1 2010/12/13 18:00:38 pooka Exp $"); +__RCSID("$NetBSD: envstat_hostops.c,v 1.2 2010/12/15 15:07:54 pooka Exp $"); #endif /* !lint */ #include @@ -42,5 +42,4 @@ __RCSID("$NetBSD: envstat_hostops.c,v 1.1 2010/12/13 18:00:38 pooka Exp $"); const struct prog_ops prog_ops = { .op_open = open, .op_close = close, - .op_ioctl = ioctl, }; diff --git a/usr.sbin/envstat/envstat_rumpops.c b/usr.sbin/envstat/envstat_rumpops.c index 686008739e11..f0e04530861b 100644 --- a/usr.sbin/envstat/envstat_rumpops.c +++ b/usr.sbin/envstat/envstat_rumpops.c @@ -1,4 +1,4 @@ -/* $NetBSD: envstat_rumpops.c,v 1.1 2010/12/13 18:00:38 pooka Exp $ */ +/* $NetBSD: envstat_rumpops.c,v 1.2 2010/12/15 15:07:54 pooka Exp $ */ /* * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -28,7 +28,7 @@ #include #ifndef lint -__RCSID("$NetBSD: envstat_rumpops.c,v 1.1 2010/12/13 18:00:38 pooka Exp $"); +__RCSID("$NetBSD: envstat_rumpops.c,v 1.2 2010/12/15 15:07:54 pooka Exp $"); #endif /* !lint */ #include @@ -44,5 +44,4 @@ const struct prog_ops prog_ops = { .op_open = rump_sys_open, .op_close = rump_sys_close, - .op_ioctl = rump_sys_ioctl, }; diff --git a/usr.sbin/envstat/prog_ops.h b/usr.sbin/envstat/prog_ops.h index b2ce34eb3ba3..adae42c3b0a6 100644 --- a/usr.sbin/envstat/prog_ops.h +++ b/usr.sbin/envstat/prog_ops.h @@ -1,4 +1,4 @@ -/* $NetBSD: prog_ops.h,v 1.1 2010/12/13 18:00:38 pooka Exp $ */ +/* $NetBSD: prog_ops.h,v 1.2 2010/12/15 15:07:54 pooka Exp $ */ /* * Copyright (c) 2010 The NetBSD Foundation, Inc. @@ -36,13 +36,11 @@ struct prog_ops { int (*op_open)(const char *, int, ...); int (*op_close)(int); - int (*op_ioctl)(int, unsigned long, ...); }; extern const struct prog_ops prog_ops; #define prog_init prog_ops.op_init #define prog_open prog_ops.op_open #define prog_close prog_ops.op_close -#define prog_ioctl prog_ops.op_ioctl #endif /* _PROG_OPS_H_ */