diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-18 07:56:34 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2007-03-18 07:56:34 +0000 |
commit | 72cbfbb3cdd995f00dd0c1426c7056f2be9b50af (patch) | |
tree | 12f2a75db1b9c99b62196ca444bb878dde03c7bf /cpukit | |
parent | 2007-03-18 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-72cbfbb3cdd995f00dd0c1426c7056f2be9b50af.tar.bz2 |
2007-03-18 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/sys/conf.h: Remove non-implemented/unused symbols.
Diffstat (limited to 'cpukit')
-rw-r--r-- | cpukit/ChangeLog | 1 | ||||
-rw-r--r-- | cpukit/libnetworking/sys/conf.h | 65 |
2 files changed, 1 insertions, 65 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 41eca73a94..1a480e5722 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,6 @@ 2007-03-18 Ralf Corsépius <ralf.corsepius@rtems.org> + * libnetworking/sys/conf.h: Remove non-implemented/unused symbols. * libnetworking/net/ppp_tty.c: Use struct rtems_termios_linesw instead of struct linesw (PR 1229) * libnetworking/sys/systm.h: Comment out copyin/copyout to work 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 <machine/conf.h> #endif /* !_SYS_CONF_H_ */ |