diff options
Diffstat (limited to 'include/linux/devpts_fs.h')
-rw-r--r-- | include/linux/devpts_fs.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/devpts_fs.h b/include/linux/devpts_fs.h index 5871f292b596..277ab9af9ac2 100644 --- a/include/linux/devpts_fs.h +++ b/include/linux/devpts_fs.h | |||
@@ -15,13 +15,12 @@ | |||
15 | 15 | ||
16 | #include <linux/errno.h> | 16 | #include <linux/errno.h> |
17 | 17 | ||
18 | struct pts_fs_info; | ||
19 | |||
20 | #ifdef CONFIG_UNIX98_PTYS | 18 | #ifdef CONFIG_UNIX98_PTYS |
21 | 19 | ||
22 | /* Look up a pts fs info and get a ref to it */ | 20 | struct pts_fs_info; |
23 | struct pts_fs_info *devpts_get_ref(struct inode *, struct file *); | 21 | |
24 | void devpts_put_ref(struct pts_fs_info *); | 22 | struct pts_fs_info *devpts_acquire(struct file *); |
23 | void devpts_release(struct pts_fs_info *); | ||
25 | 24 | ||
26 | int devpts_new_index(struct pts_fs_info *); | 25 | int devpts_new_index(struct pts_fs_info *); |
27 | void devpts_kill_index(struct pts_fs_info *, int); | 26 | void devpts_kill_index(struct pts_fs_info *, int); |