From 0ea5278d33e7ad9b62c1d5d97cb287fdfcb8d977 Mon Sep 17 00:00:00 2001 From: Carl Fredrik Hammar Date: Wed, 17 Feb 2010 11:04:30 -0800 Subject: Use ioctl_handler_t typedef in Hurd ioctl macros. --- hurd/hurd/ioctl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hurd/hurd/ioctl.h') diff --git a/hurd/hurd/ioctl.h b/hurd/hurd/ioctl.h index ee156f02f9..e5ab3dc965 100644 --- a/hurd/hurd/ioctl.h +++ b/hurd/hurd/ioctl.h @@ -57,7 +57,7 @@ extern int hurd_register_ioctl_handler (int first_request, int last_request, static const struct ioctl_handler handler##_ioctl_handler##moniker \ __attribute__ ((__unused__)) = \ { _IOC_NOTYPE (first), _IOC_NOTYPE (last), \ - (int (*) (int, int, void *)) (handler), NULL }; \ + (ioctl_handler_t) (handler), NULL }; \ text_set_element (_hurd_ioctl_handler_lists, \ handler##_ioctl_handler##moniker) #define _HURD_HANDLE_IOCTLS(handler, first, last) \ -- cgit v1.2.3