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>
feat/cmake_update
OBATA Akio 4 years ago committed by TDE Gitea
parent 482eea48c7
commit 08329d9014

@ -117,7 +117,6 @@ set( CMAKE_REQUIRED_LIBRARIES ${bak_CMAKE_REQUIRED_LIBRARIES} )
unset( 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, 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 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 ####################### ##### check for audiofile #######################

@ -79,8 +79,6 @@ static int frags;
typedef int ioctl_request_t; typedef int ioctl_request_t;
#elif defined(HAVE_IOCTL_INT_ULONG_DOTS) #elif defined(HAVE_IOCTL_INT_ULONG_DOTS)
typedef unsigned long ioctl_request_t; typedef unsigned long ioctl_request_t;
#elif defined(HAVE_IOCTL_INT_ULONGINT_DOTS)
typedef unsigned long int ioctl_request_t;
#else #else
#error "unknown ioctl type (check config.h, adapt configure test)..." #error "unknown ioctl type (check config.h, adapt configure test)..."
#endif #endif

@ -42,7 +42,6 @@
#cmakedefine HAVE_LIBPTHREAD 1 #cmakedefine HAVE_LIBPTHREAD 1
#cmakedefine HAVE_IOCTL_INT_INT_DOTS 1 #cmakedefine HAVE_IOCTL_INT_INT_DOTS 1
#cmakedefine HAVE_IOCTL_INT_ULONG_DOTS 2 #cmakedefine HAVE_IOCTL_INT_ULONG_DOTS 2
#cmakedefine HAVE_IOCTL_INT_ULONGINT_DOTS 3
#cmakedefine HAVE_LIBJACK 1 #cmakedefine HAVE_LIBJACK 1
#cmakedefine HAVE_LIBSNDIO 1 #cmakedefine HAVE_LIBSNDIO 1

Loading…
Cancel
Save