Remove "unused.h"
authorJihoon Chung <jihoon.chung@samsaung.com>
Wed, 16 Oct 2013 05:13:25 +0000 (14:13 +0900)
committerGerrit Code Review <gerrit@gerrit.vlan144.tizendev.org>
Thu, 17 Oct 2013 00:55:12 +0000 (00:55 +0000)
[Issue#]     LINUXWRT-1016
[Problem]    Remove "unused.h"
[Cause]      DPL_UNUSED & DPL_UNUSED_PARAM macro move to availability.h.
             As unused.h doesn't contain any methods or macro, need to clean-up
[Solution]   Remove "unused.h"
[Verification] Build wrt repos
[SCMRequest] N/A

Change-Id: I08cd8a9d14284167690423b68bed26bcc8043429

modules/core/config.cmake
modules/core/include/dpl/unused.h [deleted file]

index 8596c3c..1a8625e 100644 (file)
@@ -136,7 +136,6 @@ SET(DPL_CORE_HEADERS
     ${PROJECT_SOURCE_DIR}/modules/core/include/dpl/thread.h
     ${PROJECT_SOURCE_DIR}/modules/core/include/dpl/type_list.h
     ${PROJECT_SOURCE_DIR}/modules/core/include/dpl/union_cast.h
-    ${PROJECT_SOURCE_DIR}/modules/core/include/dpl/unused.h
     ${PROJECT_SOURCE_DIR}/modules/core/include/dpl/workaround.h
     ${PROJECT_SOURCE_DIR}/modules/core/include/dpl/zip_input.h
     ${PROJECT_SOURCE_DIR}/modules/core/include/dpl/application.h
diff --git a/modules/core/include/dpl/unused.h b/modules/core/include/dpl/unused.h
deleted file mode 100644 (file)
index 5fddaac..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-/*
- * Copyright (c) 2011 Samsung Electronics Co., Ltd All Rights Reserved
- *
- *    Licensed under the Apache License, Version 2.0 (the "License");
- *    you may not use this file except in compliance with the License.
- *    You may obtain a copy of the License at
- *
- *        http://www.apache.org/licenses/LICENSE-2.0
- *
- *    Unless required by applicable law or agreed to in writing, software
- *    distributed under the License is distributed on an "AS IS" BASIS,
- *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *    See the License for the specific language governing permissions and
- *    limitations under the License.
- */
-/*
- * @file        unused.h
- * @author      Lukasz Wrzosek (l.wrzosek@samsung.com)
- * @version     1.0
- * @brief       This file is the implementation file of unused attribute from
- * gcc
- */
-#ifndef DPL_UNUSED_H
-#define DPL_UNUSED_H
-
-#warning using deprecated macros. uses availability.h
-#define DPL_UNUSED __attribute__((unused))
-#define DPL_UNUSED_PARAM(variable) (void)variable
-
-#endif // DPL_UNUSED_H