Remove visibility attributes from header file 17/29717/2
authorLukasz Wojciechowski <l.wojciechow@partner.samsung.com>
Mon, 3 Nov 2014 07:25:37 +0000 (08:25 +0100)
committerGerrit Code Review <gerrit@review.vlan103.tizen.org>
Tue, 4 Nov 2014 09:06:19 +0000 (01:06 -0800)
Visibility attributes ar not needed in header file.
Usage of them by CYNARA_API macro causes also to make
internal file attributes.h published.

Change-Id: I99bb84d5af96120cdc448e837601cecc05494570

src/include/cynara-creds-commons.h

index 813c1b9..ee6d2b8 100644 (file)
@@ -26,7 +26,6 @@
 #ifndef CYNARA_CREDS_COMMONS_H
 #define CYNARA_CREDS_COMMONS_H
 
-#include <attributes/attributes.h>
 #include <cynara-error.h>
 
 enum cynara_client_creds {
@@ -78,7 +77,6 @@ extern "C" {
  *         CYNARA_API_UNKNOWN_ERROR if there is other error.
  *
  */
-CYNARA_API
 int cynara_creds_get_default_client_method(enum cynara_client_creds *method);
 
 /**
@@ -115,7 +113,6 @@ int cynara_creds_get_default_client_method(enum cynara_client_creds *method);
  *         CYNARA_API_OUT_OF_MEMORY if there is error in memory allocation.
  *         CYNARA_API_UNKNOWN_ERROR if there is other error.
  */
-CYNARA_API
 int cynara_creds_get_default_user_method(enum cynara_user_creds *method);
 
 #ifdef __cplusplus