Replace fprintf(stderr, ...) on malloc.c with log_event_error()
This commit is contained in:
+5
-5
@@ -12,10 +12,10 @@
|
||||
|
||||
#define MSG_ENOMEM "Insufficient memory available"
|
||||
|
||||
void *mycalloc (size_t nmemb, size_t size);
|
||||
void myfree (void *ptr);
|
||||
void *mymalloc (size_t size);
|
||||
void *myrealloc (void *ptr, size_t oldsz, size_t add);
|
||||
char *mystrdup (const char *s);
|
||||
void *hccalloc (hashcat_ctx_t *hashcat_ctx, const size_t nmemb, const size_t sz);
|
||||
void *hcmalloc (hashcat_ctx_t *hashcat_ctx, const size_t sz);
|
||||
void *hcrealloc (hashcat_ctx_t *hashcat_ctx, void *ptr, const size_t oldsz, const size_t addsz);
|
||||
char *hcstrdup (hashcat_ctx_t *hashcat_ctx, const char *s);
|
||||
void hcfree (void *ptr);
|
||||
|
||||
#endif // _MEMORY_H
|
||||
|
||||
Reference in New Issue
Block a user