Subversion Repositories shark

Rev

Rev 422 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
422 giacomo 1
/* -*- linux-c -*- --------------------------------------------------------- *
2
 *
3
 * linux/include/linux/devpts_fs.h
4
 *
5
 *  Copyright 1998 H. Peter Anvin -- All Rights Reserved
6
 *
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.
10
 *
11
 * ------------------------------------------------------------------------- */
12
 
13
#ifndef _LINUX_DEVPTS_FS_H
14
#define _LINUX_DEVPTS_FS_H 1
15
 
16
#ifdef CONFIG_DEVPTS_FS
17
 
18
void devpts_pty_new(int, dev_t);        /* mknod in devpts */
19
void devpts_pty_kill(int);              /* unlink */
20
 
21
#else
22
 
23
static inline void devpts_pty_new(int line, dev_t device)
24
{
25
}
26
 
27
static inline void devpts_pty_kill(int line)
28
{
29
}
30
 
31
#endif
32
 
33
#endif /* _LINUX_DEVPTS_FS_H */