From: Niels Möller Date: Sat, 7 Feb 2004 14:18:31 +0000 (+0100) Subject: Reverted change to include alloca.h. Should be fixed in acinclude.m4 instead. X-Git-Tag: nettle_1.9_release_20040207~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=667b066290b39c3670a41a83d0b0ed08d0cdef71;p=thirdparty%2Fnettle.git Reverted change to include alloca.h. Should be fixed in acinclude.m4 instead. Rev: src/nettle/ChangeLog:1.241 Rev: src/nettle/nettle-internal.h:1.6 --- diff --git a/ChangeLog b/ChangeLog index c54ff0f2..1d18653f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -24,9 +24,6 @@ * examples/io.c (xalloc): New function. - * nettle-internal.h (TMP_ALLOC etc): Include if - available. - * Makefile.am (nodist_libnettleinclude_HEADERS): nettle-types.h should not be distributed. diff --git a/nettle-internal.h b/nettle-internal.h index e0048b63..d91f0f4d 100644 --- a/nettle-internal.h +++ b/nettle-internal.h @@ -35,9 +35,6 @@ * fix maximum size, and abort if we ever need anything larger. */ #if HAVE_ALLOCA -# if HAVE_ALLOCA_H -# include -# endif # define TMP_DECL(name, type, max) type *name # define TMP_ALLOC(name, size) (name = alloca(sizeof (*name) * size)) #else /* !HAVE_ALLOCA */