[PATCH 01/12] score: Delete empty pheapinit.c

Sebastian Huber sebastian.huber at embedded-brains.de
Tue Dec 1 08:10:02 UTC 2020


---
 cpukit/Makefile.am                |  1 -
 cpukit/score/src/pheapinit.c      | 24 ------------------------
 spec/build/cpukit/librtemscpu.yml |  1 -
 3 files changed, 26 deletions(-)
 delete mode 100644 cpukit/score/src/pheapinit.c

diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index b7435d7eb6..1e711a90da 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -948,7 +948,6 @@ librtemscpu_a_SOURCES += score/src/pheapgetsize.c
 librtemscpu_a_SOURCES += score/src/pheapgetblocksize.c
 librtemscpu_a_SOURCES += score/src/pheapgetfreeinfo.c
 librtemscpu_a_SOURCES += score/src/pheapgetinfo.c
-librtemscpu_a_SOURCES += score/src/pheapinit.c
 librtemscpu_a_SOURCES += score/src/pheapresizeblock.c
 librtemscpu_a_SOURCES += score/src/pheapwalk.c
 librtemscpu_a_SOURCES += score/src/pheapiterate.c
diff --git a/cpukit/score/src/pheapinit.c b/cpukit/score/src/pheapinit.c
deleted file mode 100644
index 48dc71e17f..0000000000
--- a/cpukit/score/src/pheapinit.c
+++ /dev/null
@@ -1,24 +0,0 @@
-/**
- * @file
- *
- * @ingroup RTEMSScoreProtHeap
- *
- * @brief Protected Heap Handler implementation.
- */
-
-/*
- *  COPYRIGHT (c) 1989-2007.
- *  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.org/license/LICENSE.
- */
-
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-#include <rtems/score/protectedheap.h>
-
-
diff --git a/spec/build/cpukit/librtemscpu.yml b/spec/build/cpukit/librtemscpu.yml
index 797aff6322..a31ead1fdb 100644
--- a/spec/build/cpukit/librtemscpu.yml
+++ b/spec/build/cpukit/librtemscpu.yml
@@ -1460,7 +1460,6 @@ source:
 - cpukit/score/src/pheapgetfreeinfo.c
 - cpukit/score/src/pheapgetinfo.c
 - cpukit/score/src/pheapgetsize.c
-- cpukit/score/src/pheapinit.c
 - cpukit/score/src/pheapiterate.c
 - cpukit/score/src/pheapresizeblock.c
 - cpukit/score/src/pheapwalk.c
-- 
2.26.2



More information about the devel mailing list