summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-01-31 18:29:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-01-31 21:52:31 +0900
commit405df7bf908beb8471df764bc00b3f823b6a729d (patch)
treec56fa82ec4de8c08044bffe52854b19acdf685b6
parent35cbe8d714c864e1e8f3fbb43fe4b92bda509759 (diff)
downloadarts-405df7bf908beb8471df764bc00b3f823b6a729d.tar.gz
arts-405df7bf908beb8471df764bc00b3f823b6a729d.zip
Drop `unsigned long int` case for the first argment type of ioctl(2)
It is identically same as `unsigned long`. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 08329d90148d57333b21ef5e83d49b8f5c8db3c0)
-rw-r--r--CMakeLists.txt1
-rw-r--r--artsc/artsdsp.c2
-rw-r--r--config.h.cmake1
3 files changed, 0 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 5b138b7..620f99c 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -117,7 +117,6 @@ set( CMAKE_REQUIRED_LIBRARIES ${bak_CMAKE_REQUIRED_LIBRARIES} )
unset( bak_CMAKE_REQUIRED_LIBRARIES )
check_prototype_definition( ioctl "int ioctl(int d, int request, ...)" "-1" "unistd.h;sys/ioctl.h" HAVE_IOCTL_INT_INT_DOTS )
check_prototype_definition( ioctl "int ioctl(int d, unsigned long request, ...)" "-1" "unistd.h;sys/ioctl.h" HAVE_IOCTL_INT_ULONG_DOTS )
-check_prototype_definition( ioctl "int ioctl(int d, unsigned long int request, ...)" "-1" "unistd.h;sys/ioctl.h" HAVE_IOCTL_INT_ULONGINT_DOTS )
##### check for audiofile #######################
diff --git a/artsc/artsdsp.c b/artsc/artsdsp.c
index 2b6b3ef..0139a74 100644
--- a/artsc/artsdsp.c
+++ b/artsc/artsdsp.c
@@ -79,8 +79,6 @@ static int frags;
typedef int ioctl_request_t;
#elif defined(HAVE_IOCTL_INT_ULONG_DOTS)
typedef unsigned long ioctl_request_t;
-#elif defined(HAVE_IOCTL_INT_ULONGINT_DOTS)
-typedef unsigned long int ioctl_request_t;
#else
#error "unknown ioctl type (check config.h, adapt configure test)..."
#endif
diff --git a/config.h.cmake b/config.h.cmake
index f16dda7..7c2f7c8 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -42,7 +42,6 @@
#cmakedefine HAVE_LIBPTHREAD 1
#cmakedefine HAVE_IOCTL_INT_INT_DOTS 1
#cmakedefine HAVE_IOCTL_INT_ULONG_DOTS 2
-#cmakedefine HAVE_IOCTL_INT_ULONGINT_DOTS 3
#cmakedefine HAVE_LIBJACK 1
#cmakedefine HAVE_LIBSNDIO 1