Commit Graph

114 Commits

Author SHA1 Message Date
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
markm
0bea1968bc Fix a prototype to match our headers. I am not convinced that doing
this in this file is the correct way round. (Maybe our definition of
__assert is wrong?)

Anyway, perhaps we should revisit this later. For the time being,
building lint libraries here does not blow up.
2002-03-11 11:26:17 +00:00
markm
c217051c4e Fix silly one line error. (Half a .if statement left behind). 2002-03-11 11:20:45 +00:00
jake
6b83ff594a Add sparc64 ifdefs. 2002-03-10 01:34:22 +00:00
markm
7b2187d186 Completeley revert this to the vendor code. This is in preparation to
doing some fixing...

...asked for by:	bde
2002-03-07 16:45:41 +00:00
markm
8207872db7 Merge conflicts, fix Makefiles and remove (re)moved file(s). 2002-03-03 15:12:50 +00:00
markm
a9c0aaa0e8 Import of NetBSD's (x)lint, snapshotted at 2002-3-3. 2002-03-03 13:17:00 +00:00