[vlc-devel] commit: Remove legacy alloca checks ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Sep 27 13:22:52 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Sep 27 14:22:33 2009 +0300| [52265ccd6e58a8ad4d209f9df9992744ddc90717] | committer: Rémi Denis-Courmont 

Remove legacy alloca checks

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=52265ccd6e58a8ad4d209f9df9992744ddc90717
---

 configure.ac               |    1 -
 modules/audio_output/oss.c |    4 ----
 modules/gui/qnx/aout.c     |    4 ----
 src/audio_output/dec.c     |    4 ----
 src/audio_output/filters.c |    4 ----
 src/audio_output/mixer.c   |    3 ---
 6 files changed, 0 insertions(+), 20 deletions(-)

diff --git a/configure.ac b/configure.ac
index 04ed319..31bf3d2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -572,7 +572,6 @@ need_libc=false
 
 dnl Check for usual libc functions
 AC_CHECK_FUNCS([gettimeofday isatty sigrelse getpwuid_r memalign posix_memalign if_nametoindex getenv putenv setenv ctime_r daemon fork lstat posix_fadvise posix_madvise uselocale])
-AC_FUNC_ALLOCA
 AC_CHECK_FUNCS(fcntl)
 AC_REPLACE_FUNCS([asprintf atof atoll getcwd getpid gmtime_r lldiv localtime_r rewind strcasecmp strcasestr strdup strlcpy strncasecmp strndup strnlen strsep strtof strtoll vasprintf swab])
 AC_CHECK_FUNCS([stricmp strnicmp])
diff --git a/modules/audio_output/oss.c b/modules/audio_output/oss.c
index cfd610f..a5659eb 100644
--- a/modules/audio_output/oss.c
+++ b/modules/audio_output/oss.c
@@ -39,10 +39,6 @@
 #include <vlc_common.h>
 #include <vlc_plugin.h>
 
-#ifdef HAVE_ALLOCA_H
-#   include <alloca.h>
-#endif
-
 #include <vlc_aout.h>
 
 /* SNDCTL_DSP_RESET, SNDCTL_DSP_SETFMT, SNDCTL_DSP_STEREO, SNDCTL_DSP_SPEED,
diff --git a/modules/gui/qnx/aout.c b/modules/gui/qnx/aout.c
index 8b95085..10e06d9 100644
--- a/modules/gui/qnx/aout.c
+++ b/modules/gui/qnx/aout.c
@@ -33,10 +33,6 @@
 
 #include <vlc_common.h>
 
-#ifdef HAVE_ALLOCA_H
-#   include <alloca.h>
-#endif
-
 #include <vlc_aout.h>
 
 #include <sys/asoundlib.h>
diff --git a/src/audio_output/dec.c b/src/audio_output/dec.c
index 3b15d0e..823cce0 100644
--- a/src/audio_output/dec.c
+++ b/src/audio_output/dec.c
@@ -32,10 +32,6 @@
 
 #include <vlc_common.h>
 
-#ifdef HAVE_ALLOCA_H
-#   include <alloca.h>
-#endif
-
 #include <vlc_aout.h>
 #include <vlc_input.h>
 
diff --git a/src/audio_output/filters.c b/src/audio_output/filters.c
index 5a0fa4f..7553c14 100644
--- a/src/audio_output/filters.c
+++ b/src/audio_output/filters.c
@@ -33,10 +33,6 @@
 #include <vlc_common.h>
 #include <vlc_dialog.h>
 
-#ifdef HAVE_ALLOCA_H
-#   include <alloca.h>
-#endif
-
 #include <vlc_aout.h>
 #include "aout_internal.h"
 #include <libvlc.h>
diff --git a/src/audio_output/mixer.c b/src/audio_output/mixer.c
index 9392d13..502833e 100644
--- a/src/audio_output/mixer.c
+++ b/src/audio_output/mixer.c
@@ -33,9 +33,6 @@
 #include <vlc_common.h>
 #include <libvlc.h>
 
-#ifdef HAVE_ALLOCA_H
-#   include <alloca.h>
-#endif
 #include <vlc_aout.h>
 #include "aout_internal.h"
 /*****************************************************************************




More information about the vlc-devel mailing list