Commit Graph

18 Commits

Author SHA1 Message Date
pfg
872b698bd4 General further adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 3-Clause license.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
2017-11-20 19:49:47 +00:00
imp
7e6cabd06e Renumber copyright clause 4
Renumber cluase 4 to 3, per what everybody else did when BSD granted
them permission to remove clause 3. My insistance on keeping the same
numbering for legal reasons is too pedantic, so give up on that point.

Submitted by:	Jan Schaumann <jschauma@stevens.edu>
Pull Request:	https://github.com/freebsd/freebsd/pull/96
2017-02-28 23:42:47 +00:00
eadler
3669971047 Add static where appropriate.
Sync with some of DragonflyBSD's latest cleanups

Reviewed by:	mjg
2013-11-21 21:19:01 +00:00
joel
29af67e52c 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
dwmalone
b4339b74ad 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
jmallett
66c1bdebae Minor cleanup: ANSI C function declarations, use argc after getopt(3) to check
for remaining arguments, rather than checking for *argv being a boolean truth.
Instead of using an empty case to check for -f- to mean "read stdin", and have
stdin reopned otherwise, use a FILE* for the mbox, and assign it to stdin when
we mean to use stdin, otherwise fopen(3).  Kill `register' qualifier.
2002-06-30 17:36:54 +00:00
obrien
bc61fc95d8 Consistently use FBSDID 2002-06-30 05:25:07 +00:00
imp
74d826c7a6 remove __P 2002-03-22 01:22:50 +00:00
ru
6faaeadacf Replaced unsafe use of sprintf() with snprintf(). 2000-10-03 17:05:02 +00:00
imp
180527062b optarg and optind are declared in unistd.h.
h_error is declared in netdb.h
2000-09-04 05:59:25 +00:00
peter
3b842d34e8 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
green
37fd08ae8d This covers the previous version, since a null commit message was accidentally
used:

Add a -c flag to print a count of messages and exit.

PR:             10921
Submitted by:   James Howard <howardjp@byzantine.student.umd.edu>
Requested by:	DES
1999-07-27 02:08:55 +00:00
green
f54e4029ae *** empty log message *** 1999-07-26 23:12:12 +00:00
charnier
3354e4d90e Add usage(), use err(3). 1997-07-08 10:59:50 +00:00
imp
141381e1cb compare return value from getopt against -1 rather than EOF, per the final
posix standard on the topic.
1997-03-29 04:34:07 +00:00
jkh
588cbc5059 Honor the MAIL environment variable, if set.
Submitted-by: Dan Cross <cross@math.psu.edu>
1996-10-06 01:54:22 +00:00
wosch
1f24c85f7b Read from standard input if file name "-" is given. 1996-01-28 23:43:37 +00:00
rgrimes
f9ab90d9d6 BSD 4.4 Lite Usr.bin Sources 1994-05-27 12:33:43 +00:00