security: Declare strict void function 71/23971/6
authorPhilippe Coval <philippe.coval@osg.samsung.com>
Mon, 22 Jan 2018 09:09:35 +0000 (10:09 +0100)
committerAleksey Volkov <a.volkov@samsung.com>
Wed, 4 Apr 2018 14:49:42 +0000 (14:49 +0000)
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: I8597f301bb7f2fbe11b4dc46f1eab8620a714da4
Origin: https://gerrit.iotivity.org/gerrit/#/c/23971/
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
resource/csdk/security/include/internal/security_internals.h

index cfdb8d7..ae870a7 100644 (file)
@@ -72,7 +72,7 @@ OCStackResult CreatePstatResource(void);
 /**
  * Create SP resource after default SP initialization is done.
  */
-OCStackResult CreateSpResource();
+OCStackResult CreateSpResource(void);
 
 /**
  * This internal method is the entity handler for sp resources