B
bcpkh
Hello All
Received a header file from a supplier that defines an interface to
implement but it's giving me a problem, I reproduce the general
structure of the header file below;
#ifndef XYZ_H
various #define(s)
#ifndef _ABC
void someFunc();
void someOtherFunc();
void implementedFunc() {
xyz;
}
#endif
#endif
The problem is that all my files that include this header xyz.h
complains about multiple definition of symbol implemetedFunc().
We are running HP-UX on Itanium.
Any advice would be appreciated.
Thank you,
B
Received a header file from a supplier that defines an interface to
implement but it's giving me a problem, I reproduce the general
structure of the header file below;
#ifndef XYZ_H
various #define(s)
#ifndef _ABC
void someFunc();
void someOtherFunc();
void implementedFunc() {
xyz;
}
#endif
#endif
The problem is that all my files that include this header xyz.h
complains about multiple definition of symbol implemetedFunc().
We are running HP-UX on Itanium.
Any advice would be appreciated.
Thank you,
B