Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Slurm
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tud-zih-energy
Slurm
Commits
982f17a6
Commit
982f17a6
authored
6 years ago
by
Tim Wickberg
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/common/xmalloc.c
+1
-0
1 addition, 0 deletions
src/common/xmalloc.c
src/common/xmalloc.h
+0
-2
0 additions, 2 deletions
src/common/xmalloc.h
with
1 addition
and
2 deletions
src/common/xmalloc.c
+
1
−
0
View file @
982f17a6
...
@@ -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().
...
...
This diff is collapsed.
Click to expand it.
src/common/xmalloc.h
+
0
−
2
View file @
982f17a6
...
@@ -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 */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment