More cleaning ...
[linux-2.6/linux-mips.git] / include / linux / devpts_fs.h
blob4def3512b35582dfcc87c0be491119ab5493d46f
1 /* -*- linux-c -*- --------------------------------------------------------- *
3 * linux/include/linux/devpts_fs.h
5 * Copyright 1998 H. Peter Anvin -- All Rights Reserved
7 * This file is part of the Linux kernel and is made available under
8 * the terms of the GNU General Public License, version 2, or at your
9 * option, any later version, incorporated herein by reference.
11 * ------------------------------------------------------------------------- */
13 #ifndef _LINUX_DEVPTS_FS_H
14 #define _LINUX_DEVPTS_FS_H 1
16 #ifdef CONFIG_DEVPTS_FS
18 void devpts_pty_new(int, dev_t); /* mknod in devpts */
19 void devpts_pty_kill(int); /* unlink */
21 #else
23 static inline void devpts_pty_new(int line, dev_t device)
27 static inline void devpts_pty_kill(int line)
31 #endif
33 #endif /* _LINUX_DEVPTS_FS_H */