Piers Harding wrote:
> 
> I think your problem is a couple of things:
> (1) dont't use main() as a function name
> (2) allocate the space for the structure timep
> 

Ahhh, understand. point 2 was mainly due to the
horribly 'rusty' nature of my C programming skills.
However, why is main() not allowed ? or rather, why
does it conflict with Inline ?

The concept of 'reserved' words or procedures is
something that doesnt trouble me, however, main()
is pretty much a 'de facto' in every single C program
that has ever been typed. is this one of those caveat
emptor's that is explained someplace ? (it would be a
worthwhile read incase there are any others :)

thanks
Stef
(ps. renaming main to my_main solved the problem, 
although point taken on the malloc :)

Reply via email to