ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/releases/8.2.21/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 1646 by michael, Wed Nov 7 21:02:43 2012 UTC

# Line 33 | Line 33 | extern void outofmemory(void);
33   extern void *MyMalloc(size_t);
34   extern void *MyRealloc(void *, size_t);
35   extern void MyFree(void *);
36 < extern void _DupString(char **, const char *);
37 <
38 < #define DupString(x,y) _DupString(&x, y)
36 > extern void *xstrdup(const char *);
37 > extern void *xstrndup(const char *, size_t);
38  
39   #ifndef NDEBUG
40   extern void mem_frob(void *, int);

Diff Legend

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