libcsupport: Move rtems_calloc()

Move rtems_calloc() since it only depends on rtems_malloc().  This may
make it easier to customize the heap allocator.

Change licence to BSD-2-Clause according to file history.

Update #3053.
This commit is contained in:
Sebastian Huber
2021-04-20 08:41:00 +02:00
parent 2b32146400
commit d8a5e140ec
4 changed files with 59 additions and 15 deletions

View File

@@ -708,6 +708,7 @@ source:
- cpukit/libcsupport/src/realpath.c
- cpukit/libcsupport/src/resource_snapshot.c
- cpukit/libcsupport/src/rmdir.c
- cpukit/libcsupport/src/rtemscalloc.c
- cpukit/libcsupport/src/rtems_heap_extend.c
- cpukit/libcsupport/src/rtems_heap_extend_via_sbrk.c
- cpukit/libcsupport/src/rtems_heap_greedy.c