From ad0373531b89bbe79715e18bc36f7660d1f2b882 Mon Sep 17 00:00:00 2001 From: Michael Hunold Date: Tue, 27 May 2003 08:23:08 +0000 Subject: 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) --- linux/drivers/media/dvb/ttpci/av7110_ipack.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'linux/drivers/media/dvb/ttpci/av7110_ipack.h') 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 -- cgit v1.2.3