|
@@ -3,13 +3,18 @@
|
|
|
|
|
|
|
|
#include <sys/types.h>
|
|
#include <sys/types.h>
|
|
|
|
|
|
|
|
-#undef str_redup
|
|
|
|
|
-#undef strdup
|
|
|
|
|
|
|
+//#undef str_redup
|
|
|
|
|
+//#undef strdup
|
|
|
#undef calloc
|
|
#undef calloc
|
|
|
#undef realloc
|
|
#undef realloc
|
|
|
|
|
|
|
|
|
|
+#define str_redup my_str_redup
|
|
|
|
|
+#define strdup my_strdup
|
|
|
|
|
+//#define calloc my_calloc
|
|
|
|
|
+//#define realloc my_realloc
|
|
|
|
|
+
|
|
|
void str_redup(char **, const char *);
|
|
void str_redup(char **, const char *);
|
|
|
-char * strdup(const char *);
|
|
|
|
|
|
|
+char *strdup(const char *);
|
|
|
|
|
|
|
|
void *my_calloc(size_t, size_t);
|
|
void *my_calloc(size_t, size_t);
|
|
|
void *my_realloc(void *, size_t);
|
|
void *my_realloc(void *, size_t);
|