K
karthy
Hi,
i have a C library with 3 files :
file1.c, file2.c, file3.c
The function, ext_func() that is needed by both file1.c and file2.c is
in file3.c
I have made that function as extern.
Accidentally an application in which this library is integrated also
has a function by name ext_func(). When my library calls ext_func()
from within, the control goes to the ext_func() defined in the
application and not to the one defined in the library.
Can i solve this problem without changing the function name in the
library and that in the application?
i donot want to expose the function, ext_func() outside my library.
i have a C library with 3 files :
file1.c, file2.c, file3.c
The function, ext_func() that is needed by both file1.c and file2.c is
in file3.c
I have made that function as extern.
Accidentally an application in which this library is integrated also
has a function by name ext_func(). When my library calls ext_func()
from within, the control goes to the ext_func() defined in the
application and not to the one defined in the library.
Can i solve this problem without changing the function name in the
library and that in the application?
i donot want to expose the function, ext_func() outside my library.