Declaring the function as 'static' in a header attempts to create a private
copy of the function in each file that includes the header. Correcting this
cleared several warnings.
Change-Id: Ie1bb47e929fb0aa5530c397e4dce275ad1e0fb0e
Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/465
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Sachin Agrawal <sachin.agrawal@intel.com>
Reviewed-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-by: Sudarshan Prasad <sudarshan.prasad@intel.com>
const ServerID OCGetServerInstanceID(void);
// Converts a CAResult_t type to a OCStackResult type.
-static OCStackResult CAResultToOCResult(CAResult_t caResult);
+OCStackResult CAResultToOCResult(CAResult_t caResult);
// returns a string representation the server instance ID.
// The memory is managed internal to this function, so freeing externally will result