]> sjero.net Git - wget/blobdiff - src/config-post.h
[svn] Don't cast return type of malloc/realloc. Assume ANSI C signal handlers.
[wget] / src / config-post.h
index ce0b7ae15e5b9381b54ae922eac2ae0e2bdf315e..7706a25d286762109fc79388b735dc243bb8ef12 100644 (file)
@@ -13,7 +13,7 @@
  #pragma alloca
 #  else
 #   ifndef alloca /* predefined by HP cc +Olibcalls */
-char *alloca ();
+void *alloca ();
 #   endif
 #  endif
 # endif
@@ -39,11 +39,6 @@ char *alloca ();
 
 #ifdef solaris
 # define NAMESPACE_TWEAKS
-# ifdef __GNUC__
-/* Prevent stdio.h from declaring va_list and thus tripping gcc's
-   stdarg.h. */
-#  define _VA_LIST
-# endif
 #endif
 
 #ifdef __linux__
@@ -65,16 +60,3 @@ char *alloca ();
 #define _BSD_SOURCE
 
 #endif /* NAMESPACE_TWEAKS */
-
-/* Determine whether to use stdarg.  Use it only if the compiler
-   supports ANSI C and stdarg.h is present.  We check for both because
-   there are configurations where stdarg.h exists, but doesn't work.
-   This check cannot be in sysdep.h because we use it to choose which
-   system headers to include.  */
-#ifndef WGET_USE_STDARG
-# ifdef __STDC__
-#  ifdef HAVE_STDARG_H
-#   define WGET_USE_STDARG
-#  endif
-# endif
-#endif /* not WGET_USE_STDARG */