diff options
| author | Pavel Machek <pavel@ucw.cz> | 2003-04-29 19:17:21 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-29 19:17:21 -0700 |
| commit | cbfce4a98869e2bde1f4a51a74aedc55ae471f0f (patch) | |
| tree | 8f8e0eee521202a5a383c38038ba9b35b0a40a40 /include | |
| parent | 9403fc17cac05b1c325ac9133f44bc0f61f6d1c6 (diff) | |
[PATCH] ioctl32 cleanups
ioctl32 cleanups are pretty neccessary (we have 6+ copies of 600+
lines tables, all getting slightly out of sync, not speaking about
surrounding code produced by cut-and-paste).
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/ioctl32.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/ioctl32.h b/include/linux/ioctl32.h index 456494591a51..d03489f00793 100644 --- a/include/linux/ioctl32.h +++ b/include/linux/ioctl32.h @@ -19,5 +19,12 @@ extern int register_ioctl32_conversion(unsigned int cmd, int (*handler)(unsigned extern int unregister_ioctl32_conversion(unsigned int cmd); +typedef int (*ioctl_trans_handler_t)(unsigned int, unsigned int, unsigned long, struct file *); + +struct ioctl_trans { + unsigned long cmd; + ioctl_trans_handler_t handler; + struct ioctl_trans *next; +}; #endif |
