Re: [PATCH] devpts_fs.h fails with "error: parameter name omitted"
From: viro
Date: Mon Feb 23 2004 - 21:25:43 EST
On Tue, Feb 24, 2004 at 01:16:51PM +1100, Ian Wienand wrote:
> -int devpts_pty_new(struct tty_struct *); /* mknod in devpts */
> -struct tty_struct *devpts_get_tty(int); /* get tty structure */
> -void devpts_pty_kill(int); /* unlink */
> +int devpts_pty_new(struct tty_struct *tty); /* mknod in devpts */
> +struct tty_struct *devpts_get_tty(int number); /* get tty structure */
> +void devpts_pty_kill(int number); /* unlink */
> /* Dummy stubs in the no-pty case */
> -static inline int devpts_pty_new(struct tty_struct *) { return -EINVAL; }
> -static inline struct tty_struct *devpts_get_tty(int) { return NULL; }
> -static inline void devpts_pty_kill(int) { }
> +static inline int devpts_pty_new(struct tty_struct *tty) { return -EINVAL; }
> +static inline struct tty_struct *devpts_get_tty(int number) { return NULL; }
> +static inline void devpts_pty_kill(int number) { }
That part makes sense. Previous one doesn't.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/