Change in ovirt-engine-sdk[sdk_4.0]: Avoid duplicate symbols in Mac OS X

omachace at redhat.com omachace at redhat.com
Wed Oct 26 16:23:16 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>
(cherry picked from commit 1363be1e5db37ef7523088815a6fe0cb3e935570)
---
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/65775
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ice0331395266b05f963c334e14d7c9448301655b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine-sdk
Gerrit-Branch: sdk_4.0
Gerrit-Owner: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list