[rtems commit] score: Delete priority.inl
Sebastian Huber
sebh at rtems.org
Wed Jul 24 09:06:33 UTC 2013
Module: rtems
Branch: master
Commit: df8f9271eabcd61bf2bcf10d4e00619aedc5d653
Changeset: http://git.rtems.org/rtems/commit/?id=df8f9271eabcd61bf2bcf10d4e00619aedc5d653
Author: Sebastian Huber <sebastian.huber at embedded-brains.de>
Date: Wed Jul 24 10:26:56 2013 +0200
score: Delete priority.inl
---
cpukit/score/Makefile.am | 1 -
cpukit/score/include/rtems/score/priority.h | 4 --
cpukit/score/inline/rtems/score/priority.inl | 53 --------------------------
cpukit/score/preinstall.am | 4 --
4 files changed, 0 insertions(+), 62 deletions(-)
diff --git a/cpukit/score/Makefile.am b/cpukit/score/Makefile.am
index 290715d..817ad88 100644
--- a/cpukit/score/Makefile.am
+++ b/cpukit/score/Makefile.am
@@ -95,7 +95,6 @@ endif
## inline
include_rtems_score_HEADERS += inline/rtems/score/object.inl
-include_rtems_score_HEADERS += inline/rtems/score/priority.inl
include_rtems_score_HEADERS += inline/rtems/score/prioritybitmap.inl
include_rtems_score_HEADERS += inline/rtems/score/scheduler.inl
include_rtems_score_HEADERS += inline/rtems/score/schedulerpriority.inl
diff --git a/cpukit/score/include/rtems/score/priority.h b/cpukit/score/include/rtems/score/priority.h
index 0913517..47910ce 100644
--- a/cpukit/score/include/rtems/score/priority.h
+++ b/cpukit/score/include/rtems/score/priority.h
@@ -73,10 +73,6 @@ typedef uint32_t Priority_Control;
*/
extern uint8_t rtems_maximum_priority;
-#ifndef __RTEMS_APPLICATION__
-#include <rtems/score/priority.inl>
-#endif
-
#ifdef __cplusplus
}
#endif
diff --git a/cpukit/score/inline/rtems/score/priority.inl b/cpukit/score/inline/rtems/score/priority.inl
deleted file mode 100644
index 5c7c6b3..0000000
--- a/cpukit/score/inline/rtems/score/priority.inl
+++ /dev/null
@@ -1,53 +0,0 @@
-/**
- * @file
- *
- * @brief Inlined Routines in the Priority Handler
- *
- * This file contains the static inline implementation of all inlined
- * routines in the Priority Handler.
- */
-
-/*
- * COPYRIGHT (c) 1989-2011.
- * On-Line Applications Research Corporation (OAR).
- *
- * The license and distribution terms for this file may be
- * found in the file LICENSE in this distribution or at
- * http://www.rtems.com/license/LICENSE.
- */
-
-#ifndef _RTEMS_SCORE_PRIORITY_H
-# error "Never use <rtems/score/priority.inl> directly; include <rtems/score/priority.h> instead."
-#endif
-
-#ifndef _RTEMS_SCORE_PRIORITY_INL
-#define _RTEMS_SCORE_PRIORITY_INL
-
-/**
- * @addtogroup ScorePriority
- */
-/**@{**/
-
-/**
- * This function returns true if the_priority if valid for a
- * user task, and false otherwise.
- */
-
-RTEMS_INLINE_ROUTINE bool _Priority_Is_valid (
- Priority_Control the_priority
-)
-{
- /*
- * Since PRIORITY_MINIMUM is 0 and priorities are stored unsigned,
- * then checking for less than 0 is unnecessary.
- */
-
- return ( the_priority <= PRIORITY_MAXIMUM );
-}
-
-
-
-/** @} */
-
-#endif
-/* end of include file */
diff --git a/cpukit/score/preinstall.am b/cpukit/score/preinstall.am
index 85cd03f..740e58e 100644
--- a/cpukit/score/preinstall.am
+++ b/cpukit/score/preinstall.am
@@ -311,10 +311,6 @@ $(PROJECT_INCLUDE)/rtems/score/object.inl: inline/rtems/score/object.inl $(PROJE
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/object.inl
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/object.inl
-$(PROJECT_INCLUDE)/rtems/score/priority.inl: inline/rtems/score/priority.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/priority.inl
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/priority.inl
-
$(PROJECT_INCLUDE)/rtems/score/prioritybitmap.inl: inline/rtems/score/prioritybitmap.inl $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
$(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/prioritybitmap.inl
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/prioritybitmap.inl
More information about the vc
mailing list