[PATCH] hysdn: remove custom types
hysdn defines its own types: ulong, uint, uchar and word. Problem is, the module_param macros rely upon some of those identifiers having special meanings too. The net effect is that module_param() and friends cannot be used in ISDN because of this namespace clash. So remove the hysdn-private defines and open-code them all. Cc: Karsten Keil <kkeil@suse.de> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:

committed by
Linus Torvalds

parent
5b7b18ccde
commit
c721bccece
@@ -47,20 +47,20 @@
|
||||
|
||||
/*--------------------------------------POF file record structs------------*/
|
||||
typedef struct PofFileHdr_tag { /* Pof file header */
|
||||
/*00 */ ulong Magic __attribute__((packed));
|
||||
/*04 */ ulong N_PofRecs __attribute__((packed));
|
||||
/*00 */ unsigned long Magic __attribute__((packed));
|
||||
/*04 */ unsigned long N_PofRecs __attribute__((packed));
|
||||
/*08 */
|
||||
} tPofFileHdr;
|
||||
|
||||
typedef struct PofRecHdr_tag { /* Pof record header */
|
||||
/*00 */ word PofRecId __attribute__((packed));
|
||||
/*02 */ ulong PofRecDataLen __attribute__((packed));
|
||||
/*00 */ unsigned short PofRecId __attribute__((packed));
|
||||
/*02 */ unsigned long PofRecDataLen __attribute__((packed));
|
||||
/*06 */
|
||||
} tPofRecHdr;
|
||||
|
||||
typedef struct PofTimeStamp_tag {
|
||||
/*00 */ ulong UnixTime __attribute__((packed));
|
||||
/*04 */ uchar DateTimeText[0x28] __attribute__((packed));
|
||||
/*00 */ unsigned long UnixTime __attribute__((packed));
|
||||
/*04 */ unsigned char DateTimeText[0x28] __attribute__((packed));
|
||||
/* =40 */
|
||||
/*2C */
|
||||
} tPofTimeStamp;
|
||||
|
Reference in New Issue
Block a user