From 67859c40355c8a36f09185c5bc3243c2636d1962 Mon Sep 17 00:00:00 2001 From: hniksic Date: Sun, 10 Apr 2005 11:20:54 -0700 Subject: [PATCH] [svn] Declare alloca as returning void *, not char *. (The alloca in alloca.c returns void *.) --- src/ChangeLog | 4 ++++ src/config-post.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index fc04daea..67531fa9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2005-04-10 Hrvoje Niksic + + * config-post.h: Declare alloca as void *, not char *. + 2005-04-09 Hrvoje Niksic * recur.c (download_child_p): When -p is used, (temporarily) diff --git a/src/config-post.h b/src/config-post.h index ce0b7ae1..5107c95b 100644 --- a/src/config-post.h +++ b/src/config-post.h @@ -13,7 +13,7 @@ #pragma alloca # else # ifndef alloca /* predefined by HP cc +Olibcalls */ -char *alloca (); +void *alloca (); # endif # endif # endif