mirror of
https://github.com/3proxy/3proxy.git
synced 2026-11-22 23:59:41 +08:00
Remove unsupported "myalloc" code
This commit is contained in:
1 parent
70ed1233fb
commit
8ad8a9ccd2
4 files changed
+25
-405
No files matched your search
-16
@@ -273,22 +273,6 @@ int connectwithpoll(SOCKET sock, struct sockaddr *sa, SASIZETYPE size, int to);
|
||||
|
||||
int myrand(void * entropy, int len);
|
||||
|
||||
#ifdef WITH_STD_MALLOC
|
||||
|
||||
#define myalloc malloc
|
||||
#define myfree free
|
||||
#define myrealloc realloc
|
||||
#define mystrdup strdup
|
||||
|
||||
#else
|
||||
|
||||
void *myalloc(size_t size);
|
||||
void myfree(void *ptr);
|
||||
void *myrealloc(void *ptr, size_t size);
|
||||
char * mystrdup(const char *str);
|
||||
|
||||
#endif
|
||||
|
||||
extern char *copyright;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user