Fix C compilation 82/42482/1 accepted/tizen/mobile/20150630.002445 accepted/tizen/tv/20150630.002501 accepted/tizen/wearable/20150630.002512 submit/tizen/20150629.123348
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 29 Jun 2015 09:13:30 +0000 (11:13 +0200)
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>
Mon, 29 Jun 2015 09:13:30 +0000 (11:13 +0200)
[Problem] ckmc_param_list_s fails to compile when C compiler is used.
[Solution] Proper typedef added.

[Verification] Successfull compilation of security-tests (c-compilation.c).

Change-Id: I90cbd8a530707961d593f51e5bc0f2cc9b4b38d3

src/include/ckmc/ckmc-type.h

index 19504de..611808e 100644 (file)
@@ -246,7 +246,7 @@ typedef enum __ckmc_param_name {
  * @brief Structure for algorithm parameter list.
  * @since_tizen 3.0
  */
-struct ckmc_param_list_s;
+typedef struct __ckmc_param_list ckmc_param_list_s;
 
 /**
  * @brief Enumeration for crypto algorithm types.