Change in ovirt-engine-sdk[master]: Avoid duplicate symbols in Mac OS X
omachace at redhat.com
omachace at redhat.com
Wed Oct 26 16:16:06 UTC 2016
Ondra Machacek has submitted this change and it was merged.
Change subject: Avoid duplicate symbols in Mac OS X
......................................................................
Avoid duplicate symbols in Mac OS X
The C compiler used in Mac OS X, clang, is more strict than the one used in
Linux, gcc. It detects that some symbols are duplicated, and the build fails.
This patch fixes the error that causes that failure, declaring the symbols as
'extern' in the .h file, and re-declaring them in the corresponding .c file.
Change-Id: Ice0331395266b05f963c334e14d7c9448301655b
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M sdk/ext/ov_xml_module.c
M sdk/ext/ov_xml_module.h
2 files changed, 4 insertions(+), 1 deletion(-)
Approvals:
Ondra Machacek: Verified; Looks good to me, approved
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/65746
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ice0331395266b05f963c334e14d7c9448301655b
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list