Replace fprintf(stderr, ...) on malloc.c with log_event_error()

This commit is contained in:
jsteube
2016-10-10 11:03:11 +02:00
parent 07f5b2195b
commit 8fc4da795b
39 changed files with 837 additions and 1120 deletions
+5 -5
View File
@@ -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