W
Who_Knows_Geek
I got 1 set of library, say 'mylib.c' and 'mylib.h'. I define 2
functions (pub_f() and priv_f()) in 'mylib.c' and just declare pub_f()
in 'mylib.h' (i assume the priv_f() is private for that library -
internal use).
Then I create an application, called 'diary.c', and include 'mylib.h'.
but, WHY i still can call the priv_f() function from 'diary.c',
although i don't declare it in 'mylib.h'?
Thanx,
Truely geek
functions (pub_f() and priv_f()) in 'mylib.c' and just declare pub_f()
in 'mylib.h' (i assume the priv_f() is private for that library -
internal use).
Then I create an application, called 'diary.c', and include 'mylib.h'.
but, WHY i still can call the priv_f() function from 'diary.c',
although i don't declare it in 'mylib.h'?
Thanx,
Truely geek