1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Make sure xfree is #define'd in standalone mode in files that

support one.
This commit is contained in:
hniksic 2000-11-22 09:00:31 -08:00
parent 2ffb47eabf
commit d8c9ce30aa
3 changed files with 3 additions and 0 deletions

View File

@ -32,6 +32,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef STANDALONE #ifdef STANDALONE
# define xmalloc malloc # define xmalloc malloc
# define xrealloc realloc # define xrealloc realloc
# define xfree free
#endif #endif
/* INTERFACE: /* INTERFACE:

View File

@ -99,6 +99,7 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#ifdef STANDALONE #ifdef STANDALONE
# define xmalloc malloc # define xmalloc malloc
# define xrealloc realloc # define xrealloc realloc
# define xfree free
#endif /* STANDALONE */ #endif /* STANDALONE */
/* Pool support. For efficiency, map_html_tags() stores temporary /* Pool support. For efficiency, map_html_tags() stores temporary

View File

@ -143,6 +143,7 @@ search_netrc (const char *host, const char **acc, const char **passwd,
#ifdef STANDALONE #ifdef STANDALONE
/* Normally, these functions would be defined by your package. */ /* Normally, these functions would be defined by your package. */
# define xmalloc malloc # define xmalloc malloc
# define xfree free
# define xstrdup strdup # define xstrdup strdup
/* The function reads a whole line. It reads the line realloc-ing the /* The function reads a whole line. It reads the line realloc-ing the