Relocate rd-mode-dependent functions in .def files 05/21505/8
authorGabriel Schulhof <gabriel.schulhof@intel.com>
Tue, 11 Jul 2017 20:52:25 +0000 (23:52 +0300)
committerDan Mihai <Daniel.Mihai@microsoft.com>
Fri, 20 Oct 2017 00:25:09 +0000 (00:25 +0000)
commit89b355386e36fd10959f627179657ee36b234e73
tree5d7c9659ae532840b4085ab52fc9fe3600ed8a89
parent51d6ba0daefd069662a7a5299a8e8c6c8988f5a8
Relocate rd-mode-dependent functions in .def files

OCBindResourceInsToResource and OCGetResourceIns are only defined if
RD_MODE is either "client" or "server", but not if it is "none". Thus,
octbstack_product.def must not include those functions.

Bug: https://jira.iotivity.org/browse/IOT-2500
Change-Id: I88bbf033006e82d1655d39d7f3127a1e40a1d4e7
Signed-off-by: Gabriel Schulhof <gabriel.schulhof@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/21395
Reviewed-by: Alex Kelley <alexke@microsoft.com>
Tested-by: jenkins-iotivity <jenkins@iotivity.org>
Reviewed-by: Dan Mihai <Daniel.Mihai@microsoft.com>
(cherry picked from commit f4fb7430a9b9a6601b80634d96b8a08fed42802b)
resource/csdk/stack/octbstack_product.def
resource/csdk/stack/octbstack_rd_client.def
resource/csdk/stack/octbstack_rd_server.def