aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/talk/get_iface.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line .c patternWarner Losh2023-08-161-3/+0
| | | | Remove /^#include\s+<sys/cdefs.h>.*$\n\s+__FBSDID\("\$FreeBSD\$"\);\n/
* Move unistd.h includes to individual .c files and remove unnecessaryXin LI2009-12-111-0/+1
| | | | | | | includes. Notes: svn path=/head/; revision=200418
* ANSIfy function prototypes. While I am there, constify some parameters andXin LI2008-04-281-3/+1
| | | | | | | | make use of C99 sparse initialization for static variables, this makes talk(1) to compile cleanly with WARNS=6. Notes: svn path=/head/; revision=178642
* Use socklen_t where appropriate.Stefan Farfeleder2005-03-111-1/+2
| | | | Notes: svn path=/head/; revision=143415
* remove whitespace at end of lineLuigi Rizzo2003-07-041-1/+1
| | | | Notes: svn path=/head/; revision=117238
* WARNS=2 fixes with NO_WERROR set because of system-header originatingMark Murray2001-12-111-7/+8
| | | | | | | warnings. Use __FBSDID(). Notes: svn path=/head/; revision=87710
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Add #include <string.h> to get prototype for memcpy().John Birrell1998-02-151-1/+2
| | | | Notes: svn path=/head/; revision=33359
* Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) andPhilippe Charnier1998-01-141-6/+5
| | | | | | | add usage(). Notes: svn path=/head/; revision=32503
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-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. Notes: svn path=/head/; revision=21673
* Increment network byte order properlyAndrey A. Chernov1996-03-121-3/+3
| | | | | | | Reviewed by: wollman Notes: svn path=/head/; revision=14585
* Make talk automagically find out the interface IP address where theJoerg Wunsch1996-03-091-0/+99
remote peer will be connected through. This avoids the ``Checking for invitation on caller's machine'' problem for multi-homed hosts. Thanks to: Garrett, for his `find_interface' example Notes: svn path=/head/; revision=14443