multiple defintions error

Jan Dvorak johnydog@go.cz
Mon Sep 25 02:59:00 GMT 2000


On Mon, Sep 25, 2000 at 04:17:49PM +0800, Atif Shahab wrote:
> a.h contains some general inline funtions that I would like to be use
> in b.c and c.c.  However when I do that the linker complains of multiple
> defintions.
... 
> Is there a neater way of doing this?
Declare such functions as 'static'.

Jan Dvorak <johnydog@go.cz>


More information about the Gcc mailing list