Weird (?) explicit declaration of functions
From: Nils Emil P. Larsen (ne-nospam7_at_post.cybercity.dk)
Date: 06/30/04
- Next message: Joona I Palaste: "Re: Weird (?) explicit declaration of functions"
- Previous message: ld: "Re: Swapping"
- Next in thread: Joona I Palaste: "Re: Weird (?) explicit declaration of functions"
- Reply: Joona I Palaste: "Re: Weird (?) explicit declaration of functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 30 Jun 2004 17:02:39 +0200
Hello
I have read about a C shared library which I want to use in my C
program. (It's a library to encode/decode packets from/to a serial bus
running with the SNAP-protocol).
Unfortunatly there is no source code available, just a C file with
function declarations like:
long SendData(TXData)Type_TXData *TXData;
Void GetStatistics(Stat)Type_Statistics *Stat;
My problem is, I don't understand what it means. Is it equivalent to
long SendData(Type_TXData *TXData);
- which makes a lot more sense to me?
Is there a good reason to use this strange syntax?
Nils Emil
-- My reply-address is valid. www.bios-flash.dk Min svar-adresse er gyldig. Redning af døde BIOS'er
- Next message: Joona I Palaste: "Re: Weird (?) explicit declaration of functions"
- Previous message: ld: "Re: Swapping"
- Next in thread: Joona I Palaste: "Re: Weird (?) explicit declaration of functions"
- Reply: Joona I Palaste: "Re: Weird (?) explicit declaration of functions"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]