Module Name: src
Committed By: pooka
Date: Wed Dec 15 15:07:54 UTC 2010
Modified Files:
src/usr.sbin/envstat: envstat_hostops.c envstat_rumpops.c prog_ops.h
Log Message:
Don't need prog_ioctl here, it's a leftover of the previous approach.
pointed out by Paul Goyette
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/envstat/envstat_hostops.c \
src/usr.sbin/envstat/envstat_rumpops.c src/usr.sbin/envstat/prog_ops.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/usr.sbin/envstat/envstat_hostops.c
diff -u src/usr.sbin/envstat/envstat_hostops.c:1.1 src/usr.sbin/envstat/envstat_hostops.c:1.2
--- src/usr.sbin/envstat/envstat_hostops.c:1.1 Mon Dec 13 18:00:38 2010
+++ src/usr.sbin/envstat/envstat_hostops.c Wed Dec 15 15:07:54 2010
@@ -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 <sys/cdefs.h>
#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 <sys/types.h>
@@ -42,5 +42,4 @@
const struct prog_ops prog_ops = {
.op_open = open,
.op_close = close,
- .op_ioctl = ioctl,
};
Index: src/usr.sbin/envstat/envstat_rumpops.c
diff -u src/usr.sbin/envstat/envstat_rumpops.c:1.1 src/usr.sbin/envstat/envstat_rumpops.c:1.2
--- src/usr.sbin/envstat/envstat_rumpops.c:1.1 Mon Dec 13 18:00:38 2010
+++ src/usr.sbin/envstat/envstat_rumpops.c Wed Dec 15 15:07:54 2010
@@ -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 <sys/cdefs.h>
#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 <sys/types.h>
@@ -44,5 +44,4 @@
.op_open = rump_sys_open,
.op_close = rump_sys_close,
- .op_ioctl = rump_sys_ioctl,
};
Index: src/usr.sbin/envstat/prog_ops.h
diff -u src/usr.sbin/envstat/prog_ops.h:1.1 src/usr.sbin/envstat/prog_ops.h:1.2
--- src/usr.sbin/envstat/prog_ops.h:1.1 Mon Dec 13 18:00:38 2010
+++ src/usr.sbin/envstat/prog_ops.h Wed Dec 15 15:07:54 2010
@@ -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 @@
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_ */