Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused UMM_NUM_HEAPS define #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 0 additions & 15 deletions src/umm_malloc_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,6 @@
* We have not verified the checks below for 64 bit machines
* because this library is targeted for 32 bit machines.
*
* UMM_NUM_HEAPS
*
* Set to the maximum number of heaps that can be defined by the
* application - defaults to 1.
*
* UMM_BEST_FIT (default)
*
* Set this if you want to use a best-fit algorithm for allocating new blocks.
Expand Down Expand Up @@ -178,16 +173,6 @@ struct umm_heap_config;

/* -------------------------------------------------------------------------- */

#ifndef UMM_NUM_HEAPS
#define UMM_NUM_HEAPS (1)
#endif

#if (UMM_NUM_HEAPS < 1)
#error UMM_NUM_HEAPS must be at least 1!
#endif

/* -------------------------------------------------------------------------- */

#ifdef UMM_BEST_FIT
#ifdef UMM_FIRST_FIT
#error Both UMM_BEST_FIT and UMM_FIRST_FIT are defined - pick one!
Expand Down