summaryrefslogtreecommitdiffstats
path: root/libexec/talkd/announce.c
Commit message (Collapse)AuthorAgeFilesLines
* MFp4 @27667: WARNS=5 cleanup on i386.jmallett2003-04-031-7/+5
| | | | | | | | | | | | | | | | | | | Remove the unused FILE\ *tf from print_mesg args, and the bogus passing in of an uninitialised FILE* for it. Call a timeval 'now' instead of 'clock' due to shadowing. Remove a nested localtime declaration. Make the delete invite argument match the ID type, u_int32_t. Use const for pointers to const items. Cast to long where printing as such. Include netinet/in.h for htonl/htons. Reviewed by: imp
* o Move externs to extern.himp2002-02-051-10/+4
| | | | | | | | o Use new-style prototypes exclusively rather than the old foo() style. o Use new-style function definitions. o remove register o make functions passed to signal have the right signature. o do minor const poisoning.
* Include ttymsg.h from ../../usr.bin/wall instead of rolling our owndd2001-09-091-1/+2
| | | | prototype.
* Print the month number properlybrian2001-07-131-1/+1
| | | | MFC after: 1 week
* In the "Message from Talk_Daemon" announcement, print the date as welldd2001-06-071-2/+4
| | | | | | as the current time. It's nice to know whether the talk request you see was sent just a few minutes ago (assuming you didn't hear the bell), or if it's been decaying for days (weeks?).
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Don't assume that time_t is long.bde1998-06-291-2/+4
|
* Use err(3). Add protos for -Wall.charnier1997-12-021-2/+9
|
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Fix buffer overrun problem.pst1997-01-181-14/+22
| | | | | | Cannidate for: 2.2 [must] Obtained from: Lite/2 and BSDI's published patch
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* add forgotten $Id$wosch1996-09-221-0/+2
|
* zap #include <sgtty.h>, it's not used.peter1996-09-071-1/+0
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* Reviewed by: phkphk1994-07-241-1/+1
| | | | changed ^G to \007
* BSD 4.4 Lite Libexec Sourcesrgrimes1994-05-271-0/+159
OpenPOWER on IntegriCloud