summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/dvb-core/dmxdev.h
diff options
context:
space:
mode:
authorMichael Hunold <devnull@localhost>2003-05-27 11:06:47 +0000
committerMichael Hunold <devnull@localhost>2003-05-27 11:06:47 +0000
commit1576f5a3490b63a874220977025b23a49d3e41fc (patch)
treef2583d4be3b57c663be919f45975ea4759d47de3 /linux/drivers/media/dvb/dvb-core/dmxdev.h
parentf2cf1ceacd9087ad8fedb426cb15bfc7ba60c6fd (diff)
downloadmediapointer-dvb-s2-1576f5a3490b63a874220977025b23a49d3e41fc.tar.gz
mediapointer-dvb-s2-1576f5a3490b63a874220977025b23a49d3e41fc.tar.bz2
- remove enumeration typedefs
- change some includes
Diffstat (limited to 'linux/drivers/media/dvb/dvb-core/dmxdev.h')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dmxdev.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dmxdev.h b/linux/drivers/media/dvb/dvb-core/dmxdev.h
index c491f1e37..b448cda04 100644
--- a/linux/drivers/media/dvb/dvb-core/dmxdev.h
+++ b/linux/drivers/media/dvb/dvb-core/dmxdev.h
@@ -38,20 +38,20 @@
#include "dvbdev.h"
#include "demux.h"
-typedef enum {
+enum dmxdevype {
DMXDEV_TYPE_NONE,
DMXDEV_TYPE_SEC,
DMXDEV_TYPE_PES,
-} dmxdevype_t;
+};
-typedef enum {
+enum dmxdev_state {
DMXDEV_STATE_FREE,
DMXDEV_STATE_ALLOCATED,
DMXDEV_STATE_SET,
DMXDEV_STATE_GO,
DMXDEV_STATE_DONE,
DMXDEV_STATE_TIMEDOUT
-} dmxdev_state_t;
+};
struct dmxdev_buffer {
u8 *data;
@@ -80,7 +80,7 @@ struct dmxdev_filter {
} params;
int type;
- dmxdev_state_t state;
+ enum dmxdev_state state;
struct dmxdev *dev;
struct dmxdev_buffer buffer;