Skip to content

Commit

Permalink
Use ioctl_handler_t typedef in Hurd ioctl macros.
Browse files Browse the repository at this point in the history
  • Loading branch information
Carl Fredrik Hammar authored and Roland McGrath committed Feb 17, 2010
1 parent d22ae6c commit 0ea5278
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2010-02-17 Carl Fredrik Hammar <hammy.lite@gmail.com>

* hurd/hurd/ioctl.h (_HURD_HANDLE_IOCTLS_1): Cast to
`ioctl_handler_t'.

2010-02-15 Ulrich Drepper <drepper@redhat.com>

* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Fix unwind info.
Expand Down
2 changes: 1 addition & 1 deletion hurd/hurd/ioctl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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) \
Expand Down

0 comments on commit 0ea5278

Please sign in to comment.