From owner-cvs-all Sun Sep 9 7:23:35 2001
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by hub.freebsd.org (Postfix) with ESMTP
id 3AD3A37B401; Sun, 9 Sep 2001 07:23:32 -0700 (PDT)
Received: (from dd@localhost)
by freefall.freebsd.org (8.11.4/8.11.4) id f89ENWX54467;
Sun, 9 Sep 2001 07:23:32 -0700 (PDT)
(envelope-from dd)
Message-Id: <200109091423.f89ENWX54467@freefall.freebsd.org>
From: Dima Dorfman
Date: Sun, 9 Sep 2001 07:23:31 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: src/usr.bin/wall ttymsg.h ttymsg.c wall.c
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
List-ID:
List-Archive: (Web Archive)
List-Help: (List Instructions)
List-Subscribe:
List-Unsubscribe:
X-Loop: FreeBSD.ORG
dd 2001/09/09 07:23:31 PDT
Modified files:
usr.bin/wall ttymsg.c wall.c
Added files:
usr.bin/wall ttymsg.h
Log:
- Move the prototype of ttymsg() into ttymsg.h. syslogd and talkd
also use this, and they shouldn't have to have their own prototypes.
- Silence warnings about constness and signedness in ttymsg(). This
includes changing the return value to a `const char *', and changing
the types of `left' and `wret' (both byte counts) to ssize_t.
Reviewed by: bde
Revision Changes Path
1.9 +9 -6 src/usr.bin/wall/ttymsg.c
1.21 +5 -3 src/usr.bin/wall/wall.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message