Removed incorrect static from function declaration.
authorJon A. Cruz <jonc@osg.samsung.com>
Thu, 12 Mar 2015 17:17:32 +0000 (10:17 -0700)
committerSudarshan Prasad <sudarshan.prasad@intel.com>
Fri, 13 Mar 2015 16:30:44 +0000 (16:30 +0000)
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>
resource/csdk/stack/include/internal/ocstackinternal.h

index 7f5d366..80e784f 100644 (file)
@@ -191,7 +191,7 @@ OCResourceType *findResourceType(OCResourceType * resourceTypeList, const char *
 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