From d5ae68c621b61823dc18cf7fe2d93dfb036cbbc1 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Wed, 1 Feb 2023 15:07:07 +0100 Subject: [PATCH] declared why2_strdup --- include/memory.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/memory.h b/include/memory.h index d5e2606..9f1c80f 100644 --- a/include/memory.h +++ b/include/memory.h @@ -5,6 +5,8 @@ void *why2_malloc(unsigned long size); void *why2_calloc(unsigned long element, unsigned long size); void *why2_realloc(void *pointer, unsigned long size); +char *why2_strdup(char *string); + void why2_free(void *pointer); #endif \ No newline at end of file