Commit Graph

120 Commits

Author SHA1 Message Date
imp
51a4095a03 The NetBSD Foundation has granted permission to remove clause 3 and 4
from their software.

Obtained from:	NetBSD
2010-02-16 21:43:57 +00:00
dwmalone
f46bb1399f This now passes a make universe with WARNS=6. 2010-01-07 09:45:15 +00:00
dwmalone
ca1f8c06ce 1) Make usage() as dead2 - it helps the compiler know that some vars
are not used uninitialised.
2) Fix some constness problems.
3) Avoid a signedness problem by casting to size_t. If bn != stuff,
than stuff-1-bn should be > 0.
2010-01-05 20:53:55 +00:00
ed
9b380e30d4 Build usr.bin/ with WARNS=6 by default.
Also add some missing $FreeBSD$ to keep svn happy.
2010-01-02 10:27:05 +00:00
imp
98be5d42cb MFp4(mips2-jnpr):
Add mips support.
2008-04-04 21:35:13 +00:00
brueffer
b64d211df2 Fix some "in in" typos in comments.
PR:		121490
Submitted by:	Anatoly Borodin <anatoly.borodin@gmail.com>
Approved by:	rwatson (mentor), jkoshy
MFC after:	3 days
2008-03-26 07:32:08 +00:00
yar
070982755d Fix a group of typos:
preceed -> precede,
preceeded -> preceded,
preceeding -> preceding.

Submitted by:	Andre Guibert de Bruet <andy@siliconlandmark.com>
2006-12-29 13:08:46 +00:00
kan
bd9e529aec Pass "-Wtraditional -Wno-system-headers" to compiler as two separate
arguments. GCC4 was unhappy with them combined, while GCC 3.4 did
not care.
2006-09-21 02:05:38 +00:00
ru
aa1113efea Remove alpha-specific stuff. 2006-08-23 12:12:56 +00:00
stefanf
531cca26d1 Include <err.h> where needed. Add $FreeBSD$ where missing. 2005-08-05 09:07:42 +00:00
ru
1541af42f1 Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ru
cec60429bb Start the dreaded NOFOO -> NO_FOO conversion.
OK'ed by:	core
2004-12-21 08:47:35 +00:00
cognet
be7f7f1da8 Define PTRDIFF_IS_LONG and SIZEOF_IS_ULONG for arm. 2004-05-14 13:44:36 +00:00
johan
31854a224a style.Makefile(5):
Use WARNS?= instead of WARNS=.
2004-02-23 20:25:27 +00:00
ru
743cc6d002 Fixed style of DPADD and LDADD assignments as per style.Makefile(5). 2004-02-05 22:44:25 +00:00
marcel
88359b55f6 The size of a long double is 16 bytes, not 12 bytes. 2003-11-03 05:09:57 +00:00
peter
7c422b97bd Move the -Wtraditional warning from the global cpp flags to when the -p
(portability warnings) switch is used.  Add -Wno-system-headers after it so
that we dont get 500 screenfulls of warnings about #elif in /usr/include.
I'm not entirely happy with this.  Maybe cdefs.h shouldn't use #elif and
instead nest #else clauses?
2003-10-26 03:34:13 +00:00
markm
e0632d72f0 If lint(1) is not "lint", don't try to lint the xlint compat-libs. A
third-party lint is probably being used.
2003-06-15 13:03:37 +00:00
obrien
7c18a9f411 Consistently use __inline for pure c89 compilers.
Submitted by:	Tim Kientzle <kientzle@acm.org>
2003-06-07 18:12:30 +00:00
peter
d52c328b41 Add amd64 settings.
Approved by:  re (scottl)
2003-05-08 06:33:49 +00:00
obrien
ff52fc6ca2 No, forget about rev 1.24. My system wasn't virgin enough when I tested that.
Restore rev 1.23.
2003-05-03 23:15:09 +00:00
obrien
f690a9b0bd Forget about rev 1.23. -$ is now spelled -fno-dollars-in-identifiers.
Submitted by:	kan
2003-05-03 19:57:36 +00:00
obrien
eeb43ad6dc GCC 3.3's cpplib does not impliment -$ (forbid the use of $ in identifiers). 2003-05-03 19:50:41 +00:00
schweikh
718a7892bc Fix typos; add FreeBSD Id where missing. 2003-01-01 18:13:45 +00:00
schweikh
86f7487fb6 Fix typos, mostly s/ an / a / where appropriate and a few s/an/and/
Add FreeBSD Id tag where missing.
2002-12-30 21:18:15 +00:00
ru
b3c21d79a5 mdoc(7) police: overhaul.
Approved by:	re
2002-12-11 17:13:09 +00:00
ru
a5aece67b9 mdoc(7) police: Fixed the declaration of the -column list.
Approved by:	re
2002-12-11 16:59:01 +00:00
benno
7be4041b22 Teach lint about powerpc.
Approved by:	re (rwatson)
2002-12-09 23:27:47 +00:00
ru
58017419e9 mdoc(7) police:
Restore (once again) my fixes from revision 1.20 that got lost in
revision 1.25 merge.

Approved by:	re
2002-11-26 15:32:04 +00:00
ru
3876823931 Need to run lint1 from ${WORLDTMP}/usr/libexec during buildworld.
Spotted by:	fjoe
2002-10-23 12:05:27 +00:00
peter
a51c9b6627 Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports.  As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL.  It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha
2002-09-17 01:49:00 +00:00
iedowse
99766d4bf1 If the CC environment variable contains multiple words then split
it up into separate exec arguments.

Reviewed by:	markm
2002-09-01 12:49:27 +00:00
markm
d283bf5723 Merge conflicts. 2002-07-19 16:38:21 +00:00
markm
b2c9482532 This commit was generated by cvs2svn to compensate for changes in r100360,
which included commits to RCS files with non-trunk default branches.
2002-07-19 15:19:23 +00:00
markm
e290933e4d Snapshot of NetBSD's (x)lint. Little functionality, just some code
tidy-ups.
2002-07-19 15:19:23 +00:00
phk
730980f361 #include <sys/time.h> before <sys/stat.h> to get timespec. 2002-06-21 09:23:12 +00:00
ru
b2fe4053f4 Make sure the file in Attic is really "dead".
Problem found by:	ken
2002-05-07 06:57:04 +00:00
des
4d6b787d2d Usage style sweep: spell "usage" with a small 'u'.
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
charnier
ad8a79e6a5 Use `The .Nm utility' 2002-04-20 12:18:28 +00:00
ru
af4e0f93ba Don't unnecessarily include bsd.own.mk.
(This is apparently required in NetBSD).
2002-04-15 09:37:12 +00:00
ru
49f7c32441 FreeBSD prior to 4.4-RELEASE and older versions of 5.0-CURRENT do
not have setprogname(3) and getprogname(3), and we need to build
lint(1) as a cross-tool to bootstrap.  Versions from lib/libc/gen
can't be compiled either.

PR:		bin/36747
2002-04-07 16:53:47 +00:00
peter
b97d2b784d Later versions of gcc object very strongly to the -C flag being passed
as -CC.  It makes no difference to gcc in the tree, but this change is
necessary for gcc-3.1 to work.
2002-04-07 06:28:38 +00:00
imp
0b20191705 remove __P 2002-03-22 01:42:45 +00:00
peter
e18cd1e9c7 Add an ia64 targparam.h 2002-03-21 07:33:31 +00:00
ru
333c1d4d25 Make lint(1) a cross-tool.
(See commit log for usr.bin/xlint/Makefile,v 1.11 for what was wrong
with enabling build of lint libraries in rev. 1.12.)

This fixes cross-arch compiles (running binaries for a different arch
when generating lint.7 and lint libraries) and cross-branch compiles
(4.x -> 5.0 buildworld should be working again).
2002-03-20 18:25:50 +00:00
markm
476738c7e6 Build lint libraries. 2002-03-17 10:00:56 +00:00
ru
1b0c62b7f6 Argh, I constantly keep forgetting about these XXX's I put. 2002-03-15 17:01:05 +00:00
ru
dac2fbcea2 mdoc(7) police:
Restore fixes from revision 1.20 that got lost in revision 1.21 merge.
Fixed some more.
2002-03-15 16:44:52 +00:00
markm
3be0ca6854 Try harder to lint without nonstandard stuff. 2002-03-11 11:32:55 +00:00
markm
6c291d8e30 Punt to attic file that moved in latest import. 2002-03-11 11:28:56 +00:00