resource: Declare strict void function 61/23861/8
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 13 Nov 2017 14:59:14 +0000 (15:59 +0100)
committerDave Thaler <dthaler@microsoft.com>
Fri, 16 Mar 2018 21:38:02 +0000 (21:38 +0000)
commitebee4c5d46d7863be465b7edd766e051f631e89d
treec37cfb7ce48eb8121c28179666dea03c5c342c37
parent6e3469b0f83cdfd818cb8130db6ebe9911986f02
resource: Declare strict void function

Declare void functions as strict prototype

If built along -Wstrict-prototypes it will raise and error,
this is the case on TizenRT.

More patches to come to enable this flag by default.

Bug: https://jira.iotivity.org/browse/IOT-2539
Change-Id: I742ca3720209eec1f58382abdaff88ae08006a0e
Origin: https://gerrit.iotivity.org/gerrit/#/c/23861/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
35 files changed:
resource/IPCA/samples/ElevatorServer/ElevatorServerSample.cpp
resource/IPCA/samples/ipcaapp/ipcaapp.cpp
resource/c_common/utlist.h
resource/csdk/logger/include/experimental/logger.h
resource/csdk/logger/src/logger.c
resource/csdk/resource-directory/samples/rd_main.c
resource/csdk/resource-directory/samples/rd_publishingClient.cpp
resource/csdk/resource-directory/samples/rd_queryClient.cpp
resource/csdk/routing/include/routingmanager.h
resource/csdk/stack/include/internal/occlientcb.h
resource/csdk/stack/include/internal/ocendpoint.h
resource/csdk/stack/include/internal/ocresourcehandler.h
resource/csdk/stack/include/internal/ocstackinternal.h
resource/csdk/stack/include/internal/oicgroup.h
resource/csdk/stack/include/internal/oickeepalive.h
resource/csdk/stack/include/ocpayload.h
resource/csdk/stack/include/ocstack.h
resource/csdk/stack/samples/linux/OCSample/occlient.c
resource/csdk/stack/samples/linux/OCSample/ocserver.c
resource/csdk/stack/samples/linux/SimpleClientServer/ocrouting.cpp
resource/csdk/stack/samples/linux/SimpleClientServer/ocserver.h
resource/csdk/stack/samples/tizen/SimpleClientServer/ocrouting.cpp
resource/csdk/stack/samples/tizen/SimpleClientServer/ocserver.h
resource/csdk/stack/src/occlientcb.c
resource/csdk/stack/src/ocendpoint.c
resource/csdk/stack/src/ocpayload.c
resource/csdk/stack/src/ocresource.c
resource/csdk/stack/src/ocstack.c
resource/csdk/stack/src/oicgroup.c
resource/examples/devicediscoveryserver.cpp
resource/examples/presenceserver.cpp
resource/oc_logger/examples/test_logging.c
resource/oc_logger/examples/test_logging.cpp
resource/oc_logger/include/targets/oc_ostream_logger.h
resource/oc_logger/test/test_logging.cpp