diff mbox series

[API-NEXT,v3,2/2] api: drop spec/compiler.h header

Message ID 1516633210-13906-3-git-send-email-odpbot@yandex.ru
State New
Headers show
Series [API-NEXT,v3,1/2] linux-gen: drop leftover headers | expand

Commit Message

Github ODP bot Jan. 22, 2018, 3 p.m. UTC
From: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>


This header was already removed in master, but it reappeared in
api-next.

Fixes: f925f103c90591776f73863d30159357b08bf71e
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov@linaro.org>

---
/** Email created from pull request 415 (lumag:api-next-fix-headers)
 ** https://github.com/Linaro/odp/pull/415
 ** Patch: https://github.com/Linaro/odp/pull/415.patch
 ** Base sha: 5fba303faf04d29b616f687ce1f721400b2c6f9c
 ** Merge commit sha: d04df090bced4f16e3d95aac712e562ae1c121d4
 **/
 include/odp/api/spec/compiler.h | 53 -----------------------------------------
 1 file changed, 53 deletions(-)
 delete mode 100644 include/odp/api/spec/compiler.h
diff mbox series

Patch

diff --git a/include/odp/api/spec/compiler.h b/include/odp/api/spec/compiler.h
deleted file mode 100644
index 750b36008..000000000
--- a/include/odp/api/spec/compiler.h
+++ /dev/null
@@ -1,53 +0,0 @@ 
-/* Copyright (c) 2014-2018, Linaro Limited
- * All rights reserved.
- *
- * SPDX-License-Identifier:     BSD-3-Clause
- */
-
-
-/**
- * @file
- *
- * Compiler related
- */
-
-#ifndef ODP_API_COMPILER_H_
-#define ODP_API_COMPILER_H_
-#include <odp/visibility_begin.h>
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/** @addtogroup odp_compiler_optim
- *  Macro for old compilers
- *  @{
- */
-
-/** @internal GNU compiler version */
-#define GCC_VERSION (__GNUC__ * 10000 \
-			+ __GNUC_MINOR__ * 100 \
-			+ __GNUC_PATCHLEVEL__)
-
-/**
- * @internal
- * Compiler __builtin_bswap16() is not available on all platforms
- * until GCC 4.8.0 - work around this by offering __odp_builtin_bswap16()
- * Don't use this function directly, instead see odp_byteorder.h
- */
-#if GCC_VERSION < 40800
-#define __odp_builtin_bswap16(u16) ((((u16)&0x00ff) << 8)|(((u16)&0xff00) >> 8))
-#else
-#define __odp_builtin_bswap16(u16) __builtin_bswap16(u16)
-#endif
-
-/**
- * @}
- */
-
-#ifdef __cplusplus
-}
-#endif
-
-#include <odp/visibility_end.h>
-#endif