From 667b066290b39c3670a41a83d0b0ed08d0cdef71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Sat, 7 Feb 2004 15:18:31 +0100 Subject: [PATCH] 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 --- ChangeLog | 3 --- nettle-internal.h | 3 --- 2 files changed, 6 deletions(-) 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 <alloca.h> 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 <alloca.h> -# endif # define TMP_DECL(name, type, max) type *name # define TMP_ALLOC(name, size) (name = alloca(sizeof (*name) * size)) #else /* !HAVE_ALLOCA */ -- GitLab