ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/trunk/include/memory.h
(Generate patch)

Comparing ircd-hybrid/trunk/include/memory.h (file contents):
Revision 1592 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 1664 by michael, Sun Nov 18 14:33:47 2012 UTC

# Line 26 | Line 26
26   #define _I_MEMORY_H
27  
28   #include "ircd_defs.h"
29 – #include "config.h"
29  
30   extern void outofmemory(void);
31  
32   extern void *MyMalloc(size_t);
33   extern void *MyRealloc(void *, size_t);
34   extern void MyFree(void *);
35 < extern void _DupString(char **, const char *);
36 <
38 < #define DupString(x,y) _DupString(&x, y)
39 <
40 < #ifndef NDEBUG
41 < extern void mem_frob(void *, int);
42 < #else
43 < #define mem_frob(x, y)
44 < #endif
35 > extern void *xstrdup(const char *);
36 > extern void *xstrndup(const char *, size_t);
37   #endif /* _I_MEMORY_H */

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)