From 72cbfbb3cdd995f00dd0c1426c7056f2be9b50af Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 18 Mar 2007 07:56:34 +0000 Subject: =?UTF-8?q?2007-03-18=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * libnetworking/sys/conf.h: Remove non-implemented/unused symbols. --- cpukit/libnetworking/sys/conf.h | 65 ----------------------------------------- 1 file changed, 65 deletions(-) (limited to 'cpukit/libnetworking/sys/conf.h') diff --git a/cpukit/libnetworking/sys/conf.h b/cpukit/libnetworking/sys/conf.h index fb6fecc160..ebf151e176 100644 --- a/cpukit/libnetworking/sys/conf.h +++ b/cpukit/libnetworking/sys/conf.h @@ -135,71 +135,6 @@ struct swdevt { #define SW_SEQUENTIAL 0x02 #define sw_freed sw_flags /* XXX compat */ -#ifdef _KERNEL -d_open_t noopen; -d_close_t noclose; -d_read_t noread; -d_write_t nowrite; -d_ioctl_t noioctl; -d_stop_t nostop; -d_reset_t noreset; -d_devtotty_t nodevtotty; -d_select_t noselect; -d_mmap_t nommap; - -/* Bogus defines for compatibility. */ -#define noioc noioctl -#define nostrat nostrategy -#define zerosize nopsize -/* - * XXX d_strategy seems to be unused for cdevs that aren't associated with - * bdevs and called without checking for it being non-NULL for bdevs. - */ -#define nostrategy ((d_strategy_t *)NULL) - -d_dump_t nodump; - -/* - * nopsize is little used, so not worth having dummy functions for. - */ -#define nopsize ((d_psize_t *)NULL) - -d_open_t nullopen; -d_close_t nullclose; -#define nullstop nostop /* one void return is as good as another */ -#define nullreset noreset /* one unused function is as good as another */ - -d_open_t nxopen; -d_close_t nxclose; -d_read_t nxread; -d_write_t nxwrite; -d_ioctl_t nxioctl; -#define nxstop nostop /* one void return is as good as another */ -#define nxreset noreset /* one unused function is as good as another */ -#define nxdevtotty nodevtotty /* one NULL return is as good as another */ -d_select_t nxselect; -#define nxmmap nommap /* one -1 return is as good as another */ -#define nxstrategy nostrategy /* one NULL value is as good as another */ -d_dump_t nxdump; -#define nxpsize nopsize /* one NULL value is as good as another */ - -d_read_t rawread; -d_write_t rawwrite; - -l_read_t l_noread; -l_write_t l_nowrite; - -int bdevsw_add(dev_t *descrip,struct bdevsw *new,struct bdevsw **old); -int cdevsw_add(dev_t *descrip,struct cdevsw *new,struct cdevsw **old); -void cdevsw_make(struct bdevsw *from); -void bdevsw_add_generic(int bdev, int cdev, struct bdevsw *bdevsw); -dev_t chrtoblk(dev_t dev); -int isdisk(dev_t dev, int type); -int iskmemdev(dev_t dev); -int iszerodev(dev_t dev); -void setconf(void); -#endif /* _KERNEL */ - #include #endif /* !_SYS_CONF_H_ */ -- cgit v1.2.3