shared: Arrange common header file 84/113284/1
authorWook Song <wook16.song@samsung.com>
Mon, 6 Feb 2017 01:59:13 +0000 (10:59 +0900)
committerWook Song <wook16.song@samsung.com>
Tue, 7 Feb 2017 05:44:19 +0000 (14:44 +0900)
This patch removes unnecessary defines and macros from the common header
file in the shared directory.

Change-Id: Id7e6b0c132a9fc2bcec144d2f55fd836729d900a
Signed-off-by: Wook Song <wook16.song@samsung.com>
src/shared/common.h

index 73f12dd52ef5099aa925b483f9ae4e47894312f0..1379e5ad3f8734963faddffc35b4081c816f028b 100644 (file)
  * limitations under the License.
  */
 
-#ifndef __DD_COMMON_H__
-#define __DD_COMMON_H__
-
-#include <stdio.h>
-#include <stdlib.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifndef API
-#define API __attribute__ ((visibility("default")))
-#endif
-
-#ifndef DEPRECATED
-#define DEPRECATED __attribute__ ((deprecated))
-#endif
+#ifndef __SHARED_COMMON_H__
+#define __SHARED_COMMON_H__
 
 #ifndef __CONSTRUCTOR__
 #define __CONSTRUCTOR__ __attribute__ ((constructor))
@@ -42,8 +27,4 @@ extern "C" {
 #define __DESTRUCTOR__ __attribute__ ((destructor))
 #endif
 
-#ifdef __cplusplus
-
-}
-#endif
-#endif                         /* __DD_COMMON_H__ */
+#endif                         /* __SHARED_COMMON_H__ */