Skip to content
Snippets Groups Projects
Commit 982f17a6 authored by Tim Wickberg's avatar Tim Wickberg
Browse files

Move XMALLOC_MAGIC definition into xmalloc.c.

Private, does not need to be exposed externally.
parent ad4845a2
No related branches found
No related tags found
No related merge requests found
...@@ -63,6 +63,7 @@ static void malloc_assert_failed(char *, const char *, int, ...@@ -63,6 +63,7 @@ static void malloc_assert_failed(char *, const char *, int,
} while (0) } while (0)
#endif /* NDEBUG */ #endif /* NDEBUG */
#define XMALLOC_MAGIC 0x42
/* /*
* "Safe" version of malloc(). * "Safe" version of malloc().
......
...@@ -97,6 +97,4 @@ void slurm_xfree(void **, const char *, int, const char *); ...@@ -97,6 +97,4 @@ void slurm_xfree(void **, const char *, int, const char *);
void *slurm_xrealloc(void **, size_t, bool, const char *, int, const char *); void *slurm_xrealloc(void **, size_t, bool, const char *, int, const char *);
size_t slurm_xsize(void *, const char *, int, const char *); size_t slurm_xsize(void *, const char *, int, const char *);
#define XMALLOC_MAGIC 0x42
#endif /* !_XMALLOC_H */ #endif /* !_XMALLOC_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment