]> sjero.net Git - wget/commitdiff
[svn] Declare alloca as returning void *, not char *. (The alloca in
authorhniksic <devnull@localhost>
Sun, 10 Apr 2005 18:20:54 +0000 (11:20 -0700)
committerhniksic <devnull@localhost>
Sun, 10 Apr 2005 18:20:54 +0000 (11:20 -0700)
alloca.c returns void *.)

src/ChangeLog
src/config-post.h

index fc04daea49bd9a0560e96c87e3b1cfae552a14bd..67531fa976a0d68bb7a7d430e396d4e35cd3989f 100644 (file)
@@ -1,3 +1,7 @@
+2005-04-10  Hrvoje Niksic  <hniksic@xemacs.org>
+
+       * config-post.h: Declare alloca as void *, not char *.
+
 2005-04-09  Hrvoje Niksic  <hniksic@xemacs.org>
 
        * recur.c (download_child_p): When -p is used, (temporarily)
index ce0b7ae15e5b9381b54ae922eac2ae0e2bdf315e..5107c95ba4ac1c9101e49c923783efb8601344fb 100644 (file)
@@ -13,7 +13,7 @@
  #pragma alloca
 #  else
 #   ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
+void *alloca ();
 #   endif
 #  endif
 # endif