Using the compiler that comes with Arduino 1.0.5, it
authorJoseph Morrow <joseph.l.morrow@intel.com>
Fri, 5 Sep 2014 15:17:52 +0000 (11:17 -0400)
committerJoseph Morrow <joseph.l.morrow@intel.com>
Fri, 5 Sep 2014 15:18:57 +0000 (11:18 -0400)
commit881b6a397cec737cd419bf7a68228c1a3dca9719
tree4a1602f974671f08feb3bbcfee0a40698453963d
parentd0afe530604fdfdddf7d74a73216cc8f0df0327b
Using the compiler that comes with Arduino 1.0.5, it
complains that the token in the async struct cannot
have a size of zero.

I fixed it, since it's the end of the struct, this is okay.

Patch 2: Updated with respect to Sachin's comment review.

Patch 3: When building in debug mode, the compiler that
comes with Arduino 1.0.5 complains about the tokens defined
in pdu.h as well. In this patch as well, also removed errors
found when building in debug. Rebased on Sachins changeset.

Change-Id: I568481562af2a614624608851def5bf5aa68287a
csdk/libcoap-4.1.1/async.h
csdk/libcoap-4.1.1/pdu.c
csdk/libcoap-4.1.1/pdu.h