From 66ee8158b69525e12060ef558cb5d77feadab1dc Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 7 Dec 2006 00:25:44 +0100 Subject: Imported from util-linux-2.10s tarball. --- login-utils/ttymsg.c | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'login-utils/ttymsg.c') diff --git a/login-utils/ttymsg.c b/login-utils/ttymsg.c index 6bf2f82f6..b422abb85 100644 --- a/login-utils/ttymsg.c +++ b/login-utils/ttymsg.c @@ -53,9 +53,8 @@ #include #include "nls.h" -#ifdef __linux__ #include "pathnames.h" -#endif +#include "ttymsg.h" /* * Display the contents of a uio structure on a terminal. Used by wall(1), @@ -65,12 +64,7 @@ * ignored (exclusive-use, lack of permission, etc.). */ char * -ttymsg(iov, iovcnt, line, tmout) - struct iovec *iov; - int iovcnt; - char *line; - int tmout; -{ +ttymsg(struct iovec *iov, int iovcnt, char *line, int tmout) { static char device[MAXNAMLEN]; static char errbuf[MAXNAMLEN+1024]; register int cnt, fd, left, wret; -- cgit v1.2.3-55-g7522