X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fioctl32.h;h=948809d999177867fb0820236f32e59a3d7ce52a;hb=43bc926fffd92024b46cafaf7350d669ba9ca884;hp=e5bff65d307440bbe6e7669dcddb6d3a3802f48b;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/linux/ioctl32.h b/include/linux/ioctl32.h index e5bff65d3..948809d99 100644 --- a/include/linux/ioctl32.h +++ b/include/linux/ioctl32.h @@ -1,23 +1,12 @@ #ifndef IOCTL32_H #define IOCTL32_H 1 -struct file; - -/* - * Register an 32bit ioctl translation handler for ioctl cmd. - * - * handler == NULL: use 64bit ioctl handler. - * arguments to handler: fd: file descriptor - * cmd: ioctl command. - * arg: ioctl argument - * struct file *file: file descriptor pointer. - */ +#include /* for __deprecated */ -extern int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned int, unsigned int, unsigned long, struct file *)); - -extern int unregister_ioctl32_conversion(unsigned int cmd); +struct file; -typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, unsigned long, struct file *); +typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, + unsigned long, struct file *); struct ioctl_trans { unsigned long cmd;