From: Jihoon Chung Date: Wed, 16 Oct 2013 05:13:25 +0000 (+0900) Subject: Remove "unused.h" X-Git-Tag: accepted/tizen/20131024.223332~1^2^2~4 X-Git-Url: http://review.tizen.org/git/?p=platform%2Fframework%2Fweb%2Fwrt-commons.git;a=commitdiff_plain;h=cd9a368aac497271a6e61541db342ef1a47384bd Remove "unused.h" [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 --- diff --git a/modules/core/config.cmake b/modules/core/config.cmake index 8596c3c..1a8625e 100644 --- a/modules/core/config.cmake +++ b/modules/core/config.cmake @@ -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 index 5fddaac..0000000 --- a/modules/core/include/dpl/unused.h +++ /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