[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getting implicit declaration error
Sagar M Heroorkar (sheroork) wrote:
> hi,
>
> i am trying to compile a code which and i am getting a error as implicit
> declaration of function..
> the fn is defined in another file and is being linked to it ..but still
> getting this type error..
> can anyone pls tell me whats is this type of error and how to solve..
This is not OpenBSD related. Which programming language are you using ?
In modern C, a function must be declared before it's used. Either
include the correct header file for functions in system libraries, or
declare your functions.
If you're using another programming language than C, similar concepts
probably apply too.
--
Matthieu