Fix errors on Arduino caused by proper initialization. 04/304/2
authorJoseph Morrow <joseph.l.morrow@intel.com>
Wed, 4 Feb 2015 16:34:35 +0000 (11:34 -0500)
committerSashi Penta <sashi.kumar.penta@intel.com>
Fri, 6 Feb 2015 00:26:27 +0000 (00:26 +0000)
commitdfc951cd23fec66e8d3b341ab1f797b129494016
treec6efefa3e8006efb492dc7c32f3fe4b71134b9ab
parent9143f0333b992774e5184cc385085e301f4ac1b3
Fix errors on Arduino caused by proper initialization.

Initializing structs with "{0}" causes errors on Arduino where the
struct's first member is a non-primitive or something that can not be
properly set to "0" without a cast. I re-arranged the structs such that
the first member of the structs are of a primitive type or are typedef'd
as a primitive type.

Change-Id: Ib7ecced34ea85b1a8c9106c34e1d27890a4cf039
Signed-off-by: Joseph Morrow <joseph.l.morrow@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/304
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Erich Keane <erich.keane@intel.com>
Reviewed-by: Sashi Penta <sashi.kumar.penta@intel.com>
resource/csdk/connectivity/api/cacommon.h