Hi all,
In a software stack, I have an upper layer & lower layer both from
different vendors.
The lower layer (is in the form of libraries) exports some functions
say for eg: semaphore_delete(). Unfortunately, the
upper layer (is in the form of header files) also provides prototypes
for the functions whose names match exactly with the
function names exported by the lower layer. That is, the upper layer
header file has a prototype for semaphore_delete().
I want to implement this upper layer semaphore_delete()
using the lower layer semaphore_delete() function. But these 2
namespaces are clashing. I know that this problem could have
been easily solved in C++ using its namespace feature. But C
does not have this feature and hence how do I solve this problem in C.?
Has anyone come across similar kind of
problems.?
regards,
Raghunath