plz help me,

Presently i am using linux ubuntu 10.10 version,working with programmin on Netbeans IDE.
I had a piece of sample code,addition of two numbers.
I executed this code in 2 ways.
First writing the whole code in a single file and declared a function as INLINE

Secong i took 3 files main.c,add.c and add.h for the same and decalred a funtion INLINE.

Now the problem is that the functionality of inline works good for the first but not

with tha second way.

I could not fix this and not able to trace the root cause.

can you please suggest me regarding this issue to fix it?