mirror of
https://git.freebsd.org/ports.git
synced 2025-06-08 06:10:30 -04:00
egypcio@googlemail.com takes maintainership Port changes: * Add DOCS option * Add to dependencies * Port cleanup PR: 231033 Submitted by: Vinícius Zavam <egypcio@googlemail.com> (original version) Submitted by: Nathan <ndowens@yahoo.com> (final version)
21 lines
548 B
C
21 lines
548 B
C
--- include/util.h.orig 2018-08-30 18:48:15 UTC
|
|
+++ include/util.h
|
|
@@ -53,11 +53,15 @@
|
|
typedef void (*exitfn_ptr) (int,void*);
|
|
int on_exit( exitfn_ptr exitfn, void* data) ;
|
|
#endif
|
|
-#define malloc(s) use_btmalloc_instead
|
|
-#define calloc(n,s) use_btcalloc_instead
|
|
-#define realloc(p,s) use_btrealloc_instead
|
|
+/*
|
|
+ #define malloc(s) use_btmalloc_instead
|
|
+ #define calloc(n,s) use_btcalloc_instead
|
|
+ #define realloc(p,s) use_btrealloc_instead
|
|
+/*
|
|
#undef free
|
|
+/*
|
|
#define free(p) use_btfree_instead
|
|
+*/
|
|
|
|
void hexdump( void *buf, int buflen);
|
|
|