[vlc-devel] commit: Remove useless (partially used) check for stdint.h ( Rémi Denis-Courmont )
git version control
git at videolan.org
Fri Apr 10 17:03:01 CEST 2009
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Apr 10 16:33:54 2009 +0300| [dd029e35e9812cc922c05f3530ce4611fa07b38a] | committer: Rémi Denis-Courmont
Remove useless (partially used) check for stdint.h
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd029e35e9812cc922c05f3530ce4611fa07b38a
---
configure.ac | 2 +-
modules/audio_filter/channel_mixer/mono.c | 7 +------
modules/audio_filter/converter/a52tofloat32.c | 6 +-----
3 files changed, 3 insertions(+), 12 deletions(-)
diff --git a/configure.ac b/configure.ac
index a0ce1bc..1c03f55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -829,7 +829,7 @@ AC_EGREP_HEADER(strncasecmp,strings.h,[
AC_MSG_RESULT(no)])
dnl Check for headers
-AC_CHECK_HEADERS(time.h stdint.h getopt.h strings.h locale.h)
+AC_CHECK_HEADERS(time.h getopt.h strings.h locale.h)
AC_CHECK_HEADERS(fcntl.h sys/types.h sys/time.h sys/times.h sys/ioctl.h sys/stat.h xlocale.h)
AC_CHECK_HEADERS([arpa/inet.h netinet/in.h netinet/udplite.h sys/eventfd.h])
AC_CHECK_HEADERS([net/if.h], [], [],
diff --git a/modules/audio_filter/channel_mixer/mono.c b/modules/audio_filter/channel_mixer/mono.c
index f6a95f5..77bc29f 100644
--- a/modules/audio_filter/channel_mixer/mono.c
+++ b/modules/audio_filter/channel_mixer/mono.c
@@ -29,12 +29,7 @@
#endif
#include <math.h> /* sqrt */
-
-#ifdef HAVE_STDINT_H
-# include <stdint.h> /* int16_t .. */
-#else
-# include <inttypes.h> /* int16_t .. */
-#endif
+#include <stdint.h> /* int16_t .. */
#ifdef HAVE_UNISTD_H
# include <unistd.h>
diff --git a/modules/audio_filter/converter/a52tofloat32.c b/modules/audio_filter/converter/a52tofloat32.c
index 572817e..ad18a0e 100644
--- a/modules/audio_filter/converter/a52tofloat32.c
+++ b/modules/audio_filter/converter/a52tofloat32.c
@@ -34,11 +34,7 @@
#include <vlc_common.h>
#include <vlc_plugin.h>
-#ifdef HAVE_STDINT_H
-# include <stdint.h> /* int16_t .. */
-#else
-# include <inttypes.h> /* int16_t .. */
-#endif
+#include <stdint.h> /* int16_t .. */
#ifdef HAVE_UNISTD_H
# include <unistd.h>
More information about the vlc-devel
mailing list