summaryrefslogtreecommitdiffstats
path: root/usr.bin/talk/ctl_transact.c
Commit message (Collapse)AuthorAgeFilesLines
* Move unistd.h includes to individual .c files and remove unnecessarydelphij2009-12-111-1/+0
| | | | includes.
* ANSIfy function prototypes. While I am there, constify some parameters anddelphij2008-04-281-5/+1
| | | | | make use of C99 sparse initialization for static variables, this makes talk(1) to compile cleanly with WARNS=6.
* o Move NTOHL() and associated macros into <sys/param.h>. These aremike2002-02-181-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | deprecated in favor of the POSIX-defined lowercase variants. o Change all occurrences of NTOHL() and associated marcros in the source tree to use the lowercase function variants. o Add missing license bits to sparc64's <machine/endian.h>. Approved by: jake o Clean up <machine/endian.h> files. o Remove unused __uint16_swap_uint32() from i386's <machine/endian.h>. o Remove prototypes for non-existent bswapXX() functions. o Include <machine/endian.h> in <arpa/inet.h> to define the POSIX-required ntohl() family of functions. o Do similar things to expose the ntohl() family in libstand, <netinet/in.h>, and <sys/param.h>. o Prepend underscores to the ntohl() family to help deal with complexities associated with having MD (asm and inline) versions, and having to prevent exposure of these functions in other headers that happen to make use of endian-specific defines. o Create weak aliases to the canonical function name to help deal with third-party software forgetting to include an appropriate header. o Remove some now unneeded pollution from <sys/types.h>. o Add missing <arpa/inet.h> includes in userland. Tested on: alpha, i386 Reviewed by: bde, jake, tmm
* WARNS=2 fixes with NO_WERROR set because of system-header originatingmarkm2001-12-111-10/+11
| | | | warnings. Use __FBSDID().
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Add rcsid. Remove unused #includes (what about RU# ?). Change exit(-1) andcharnier1998-01-141-0/+4
| | | | add usage().
* Make talk automagically find out the interface IP address where thejoerg1996-03-091-7/+7
| | | | | | | 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
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* BSD 4.4 Lite Usr.bin Sourcesrgrimes1994-05-271-0/+113
OpenPOWER on IntegriCloud