Re: Macro calling kernel function
- From: Randy Howard <randyhoward@xxxxxxxxxxxxxxxxx>
- Date: Fri, 29 Jul 2005 01:55:21 GMT
David wrote
(in article
<1122601305.260026.300550@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>):
> Thanks Walter.
> My problem is, I have C file and .h file in my driver
> If I define this macro in C file it compiles and links, no problem
> But I define same macro in .h file it throws compile error ..
> undeclared identifier for function name
> I tired including header file for the function but :(
> whats the reason behind that.
I'll hazard a guess. There are types declared in some other
header(s) included in your .c file that you aren't including in
your header file, causing it to fail.
--
Randy Howard (2reply remove FOOBAR)
.
- References:
- Macro calling kernel function
- From: David
- Re: Macro calling kernel function
- From: Walter Roberson
- Re: Macro calling kernel function
- From: David
- Macro calling kernel function
- Prev by Date: Re: Copying a struct to a larger struct?
- Next by Date: Re: Macro calling kernel function
- Previous by thread: Re: Macro calling kernel function
- Next by thread: Re: Macro calling kernel function
- Index(es):
Relevant Pages
|