Fix for "UNUSED" redefined warning
authorGeorge Nash <george.nash@intel.com>
Mon, 17 Oct 2016 22:37:11 +0000 (15:37 -0700)
committerRick Bell <richard.s.bell@intel.com>
Thu, 27 Oct 2016 23:16:45 +0000 (23:16 +0000)
commit5d9b56826e2210de8b5ba2bc2f31608a0dac9c50
treed348b34a3cdd9b86a52f4e1cdc15afb387d6b510
parent253ba9570eb095c762fcf9c71a8fc8d75d4f09b0
Fix for "UNUSED" redefined warning

The #define UNUSED is present in openjdk's jni.h and
in the arduino libraries. Resulting in the compilar
warning.

We already have OC_UNUSED defined in octypes.h which
was already avalible for all of the files that were
using UNUSED from logger.h.

The #define UNUSED was deleted from logger.h.
Any place UNUSED was used was renamed to OC_UNUSED.

Change-Id: If94ac13dc29eb3323e036eec750a18893895fb3d
Signed-off-by: George Nash <george.nash@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/13353
Reviewed-by: Larry Sachs <larry.j.sachs@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
Reviewed-by: Rick Bell <richard.s.bell@intel.com>
resource/csdk/logger/include/logger.h
service/coap-http-proxy/samples/proxy_client.c
service/coap-http-proxy/src/CoapHttpHandler.c
service/coap-http-proxy/src/CoapHttpParser.c