Undo the USE_GNULIB_ALLOC defines.

This commit is contained in:
Steven Schubiger 2008-04-20 11:46:52 +02:00
parent 2957ce1cbc
commit 2c77220411
34 changed files with 2 additions and 74 deletions

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -43,8 +43,6 @@ as that of the covered work. */
sites that do send Set-Cookie2 also emit Set-Cookie for
compatibility. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <assert.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include "gen-md5.h"

View File

@ -27,8 +27,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <assert.h>

View File

@ -31,8 +31,6 @@ as that of the covered work. */
/* With -DSTANDALONE, this file can be compiled outside Wget source
tree. To test, also use -DTEST. */
#define USE_GNULIB_ALLOC
#ifndef STANDALONE
# include "wget.h"
#endif

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -89,8 +89,6 @@ as that of the covered work. */
/* To test as standalone, compile with `-DSTANDALONE -I.'. You'll
still need Wget headers to compile. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#ifdef STANDALONE

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
/* NTLM details:

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#define INHIBIT_WRAP /* avoid wrapping of socket, bind, ... */
#include "wget.h"

View File

@ -30,8 +30,6 @@ as that of the covered work. */
/* This file used to be kept in synch with the code in Fetchmail, but
the latter has diverged since. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -29,8 +29,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <assert.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -50,8 +50,6 @@ as that of the covered work. */
double secs = ptimer_measure ();
printf ("The loop took %.2fs\n", secs); */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -67,8 +67,6 @@ as that of the covered work. */
res_match_path, res_register_specs, res_get_specs, and
res_retrieve_file. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -87,8 +87,6 @@
*
**************************************************************/
#define USE_GNULIB_ALLOC
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif

View File

@ -27,8 +27,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -27,8 +27,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include <stdio.h>
#include "test.h"

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -28,8 +28,6 @@ Corresponding Source for a non-source form of such a combination
shall include the source code for the parts of OpenSSL used as well
as that of the covered work. */
#define USE_GNULIB_ALLOC
#include "wget.h"
#include <stdio.h>

View File

@ -31,8 +31,6 @@ as that of the covered work. */
#ifndef UTILS_H
#define UTILS_H
#ifdef USE_GNULIB_ALLOC
/* Constant is using when we don`t know attempted size exactly */
#define UNKNOWN_ATTEMPTED_SIZE -3
@ -55,8 +53,6 @@ as that of the covered work. */
additional errors. (But we currently don't do that!) */
#define xfree_null(p) if (!(p)) ; else xfree (p)
#endif /* USE_GNULIB_ALLOC */
struct hash_table;
struct file_memory {

View File

@ -208,12 +208,8 @@ typedef double SUM_SIZE_INT;
#include "options.h"
/* Everything uses this, so include them here directly. */
#ifdef USE_GNULIB_ALLOC
# include <alloca.h>
# include "xalloc.h"
#else
# include "xmalloc.h"
#endif
#include <alloca.h>
#include "xalloc.h"
/* Likewise for logging functions. */
#include "log.h"