notification: Declare strict void function 65/23865/5
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 13 Nov 2017 15:53:52 +0000 (16:53 +0100)
committerMats Wichmann <mats@linux.com>
Sat, 17 Feb 2018 21:36:53 +0000 (21:36 +0000)
commit22b8000627ce4d5c2081559f3b19667cd1479b7b
treea12341ff1045a9d485a772e15dac436246606d80
parent2fd7ba30408fef85e2e1394ddb0ee84b672f2019
notification: 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: I7740d360a34dc114cf205fdf3a366ea1537c6f9f
Origin: https://gerrit.iotivity.org/gerrit/#/c/23865/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
38 files changed:
service/notification/cpp-wrapper/examples/linux/notificationserviceprovider.cpp
service/notification/examples/linux/notificationprovider.c
service/notification/include/NSConsumerInterface.h
service/notification/src/common/NSUtil.c
service/notification/src/common/NSUtil.h
service/notification/src/consumer/NSConsumerCommon.c
service/notification/src/consumer/NSConsumerCommon.h
service/notification/src/consumer/NSConsumerInterface.c
service/notification/src/consumer/NSConsumerInternalTaskController.c
service/notification/src/consumer/NSConsumerInternalTaskController.h
service/notification/src/consumer/NSConsumerMemoryCache.c
service/notification/src/consumer/NSConsumerMemoryCache.h
service/notification/src/consumer/NSConsumerNetworkEventListener.c
service/notification/src/consumer/NSConsumerNetworkEventListener.h
service/notification/src/consumer/NSConsumerQueue.c
service/notification/src/consumer/NSConsumerQueue.h
service/notification/src/consumer/NSConsumerScheduler.c
service/notification/src/consumer/NSConsumerScheduler.h
service/notification/src/consumer/NSConsumerSystem.c
service/notification/src/consumer/NSConsumerSystem.h
service/notification/src/consumer/NSThread.c
service/notification/src/consumer/NSThread.h
service/notification/src/provider/NSProviderDiscovery.c
service/notification/src/provider/NSProviderDiscovery.h
service/notification/src/provider/NSProviderInterface.c
service/notification/src/provider/NSProviderMemoryCache.c
service/notification/src/provider/NSProviderMemoryCache.h
service/notification/src/provider/NSProviderNotification.h
service/notification/src/provider/NSProviderResource.c
service/notification/src/provider/NSProviderResource.h
service/notification/src/provider/NSProviderScheduler.c
service/notification/src/provider/NSProviderScheduler.h
service/notification/src/provider/NSProviderSubscription.c
service/notification/src/provider/NSProviderSubscription.h
service/notification/src/provider/NSProviderSystem.c
service/notification/src/provider/NSProviderSystem.h
service/notification/src/provider/NSProviderTopic.c
service/notification/src/provider/NSProviderTopic.h