Commit Graph

13 Commits

Author SHA1 Message Date
Ed Schouten
641835f465 Mark global functions and/or variables in xstr(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
2011-11-06 18:50:39 +00:00
Joel Dahl
da52b4caaf Remove the advertising clause from UCB copyrighted files in usr.bin. This
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change

Also add $FreeBSD$ to a few files to keep svn happy.

Discussed with:	imp, rwatson
2010-12-11 08:32:16 +00:00
Kevin Lo
dd0208b307 Improve temporary file handling
Obtained from: OpenBSD
2008-05-13 09:42:03 +00:00
Ruslan Ermilov
9e752adbc2 Sync program's usage() with manpage's SYNOPSIS. 2005-05-21 10:14:11 +00:00
Tim J. Robbins
d88ccf5dca Use err() instead of perror(), exit(). 2004-07-15 04:56:41 +00:00
Tim J. Robbins
cb4cbf9c34 Another buffer overflow similar to the recent one in mkstr(1). 2002-11-01 12:48:28 +00:00
David Malone
f4ac32def2 ANSIify function definitions.
Add some constness to avoid some warnings.
Remove use register keyword.
Deal with missing/unneeded extern/prototypes.
Some minor type changes/casts to avoid warnings.

Reviewed by:	md5
2002-09-04 23:29:10 +00:00
Warner Losh
3f330d7d1a remove __P 2002-03-22 01:42:45 +00:00
Mark Murray
c451c0e6bd WARNS=2 fixes, use __FBSDID(), kill register keyword. 2001-12-11 22:54:36 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Philippe Charnier
7720a19d5d Use err(3). Add usage and prototypes. Use getopt(). Document -v flag. 1997-08-28 06:28:08 +00:00
Rodney W. Grimes
7799f52a32 Remove trailing whitespace. 1995-05-30 06:41:30 +00:00
Rodney W. Grimes
9b50d90275 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00