diff options
author | Michael Hunold <devnull@localhost> | 2003-05-27 08:23:08 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-05-27 08:23:08 +0000 |
commit | ad0373531b89bbe79715e18bc36f7660d1f2b882 (patch) | |
tree | cd52375fa4ae5a60a56d8da681eafe9081950188 /linux/drivers/media/dvb/ttpci/av7110_ipack.h | |
parent | c01ec848557e671b528c110a4e10b7ef48c1418a (diff) | |
download | mediapointer-dvb-s2-ad0373531b89bbe79715e18bc36f7660d1f2b882.tar.gz mediapointer-dvb-s2-ad0373531b89bbe79715e18bc36f7660d1f2b882.tar.bz2 |
Here comes a huge cleanup patch in order to get the sources into
"kernel shape":
I mainly changed all "typedef struct foo_s {...} foo_t"
to "struct foo {}". Please don't start a policy war, I know the pros
cons of typedefs and structures.
We should, however, stick to the coding rules of the kernel: typedefed
structs are only used for opaque data types, where the internal
representation is irrelevant and we have get()/set() functions for
accessing them (ie. spinlock_t)
Diffstat (limited to 'linux/drivers/media/dvb/ttpci/av7110_ipack.h')
-rw-r--r-- | linux/drivers/media/dvb/ttpci/av7110_ipack.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/linux/drivers/media/dvb/ttpci/av7110_ipack.h b/linux/drivers/media/dvb/ttpci/av7110_ipack.h index d1c995aff..6916881f1 100644 --- a/linux/drivers/media/dvb/ttpci/av7110_ipack.h +++ b/linux/drivers/media/dvb/ttpci/av7110_ipack.h @@ -1,13 +1,13 @@ #ifndef _AV7110_IPACK_H_ #define _AV7110_IPACK_H_ -extern void av7110_ipack_init(ipack *p, int size, +extern void av7110_ipack_init(struct ipack *p, int size, void (*func)(u8 *buf, int size, void *priv)); -extern void av7110_ipack_reset(ipack *p); -extern int av7110_ipack_instant_repack(const u8 *buf, int count, ipack *p); -extern void av7110_ipack_free(ipack * p); -extern void av7110_ipack_flush(ipack *p); +extern void av7110_ipack_reset(struct ipack *p); +extern int av7110_ipack_instant_repack(const u8 *buf, int count, struct ipack *p); +extern void av7110_ipack_free(struct ipack * p); +extern void av7110_ipack_flush(struct ipack *p); #endif |