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

Sync up xmalloc macro and slurm_xcalloc prototype in Perl API.

Bug 6436.
parent 2fabb10e
No related branches found
No related tags found
No related merge requests found
...@@ -13,11 +13,11 @@ ...@@ -13,11 +13,11 @@
#define xfree(__p) \ #define xfree(__p) \
slurm_xfree((void **)&(__p), __FILE__, __LINE__, __func__) slurm_xfree((void **)&(__p), __FILE__, __LINE__, __func__)
#define xmalloc(__sz) \ #define xmalloc(__sz) \
slurm_xmalloc (__sz, true, __FILE__, __LINE__, __func__) slurm_xcalloc(1, __sz, true, false, __FILE__, __LINE__, __func__)
#endif #endif
extern void slurm_xfree(void **, const char *, int, const char *); extern void slurm_xfree(void **, const char *, int, const char *);
extern void *slurm_xmalloc(uint64_t, bool, const char *, int, const char *); extern void *slurm_xcalloc(size_t, size_t, bool, bool, const char *, int, const char *);
extern void slurm_api_clear_config(void); extern void slurm_api_clear_config(void);
......
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