Pedro F. Giffuni
796df753f4
SPDX: Consider code from Carnegie-Mellon University.
...
Interesting cases, most likely from CMU Mach sources.
2017-11-30 15:48:35 +00:00
Pedro F. Giffuni
cd508278c1
ddb: finish converting boolean values.
...
The replacement started at r283088 was necessarily incomplete without
replacing boolean_t with bool. This also involved cleaning some type
mismatches and ansifying old C function declarations.
Pointed out by: bde
Discussed with: bde, ian, jhb
2015-05-21 15:16:18 +00:00
Pedro F. Giffuni
1549fb22e6
ddb: space/tab fixes.
...
No functional change.
MFC after: 3 days
2014-10-11 20:25:19 +00:00
Pedro F. Giffuni
1285b2d147
ddb: Minor style cleanups.
...
#define should be followed by tab.
MFC after: 1 week
2014-03-31 16:37:41 +00:00
Warner Losh
dd3cb56845
Start each of the license/copyright comments with /*-
2005-01-06 01:34:41 +00:00
Juli Mallett
c96c380580
When talking about c_db_sym_t, mention that it is not just like db_sym_t:
...
it's const.
Inspired by: bde
2002-08-14 17:56:47 +00:00
Bruce Evans
763df83622
Fixed some style bugs in the removal of __P(()). Continuation lines
...
were not outdented to preserve non-KNF lining up of code with parentheses.
Switch to KNF formatting.
2002-03-23 11:53:03 +00:00
Alfred Perlstein
14e10f9952
Remove __P.
2002-03-20 05:14:42 +00:00
Peter Wemm
c3aac50f28
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
Bruce Evans
1e66367c66
Fixed -Wcast-qual warnings.
1999-02-12 12:44:19 +00:00
Matthew Dillon
fe08c21a53
Fix warnings in preparation for adding -Wall -Wcast-qual to the
...
kernel compile.
This commit includes significant work to proper handle const arguments
for the DDB symbol routines.
1999-01-27 23:45:44 +00:00
Matthew Dillon
a1c1e16ada
Changes to support -Wall, -Wcast-qual. Had to make physical code changes
...
in db_lookup() to avoid the *cp = 0 / *cp = ':' combo ( temporary
nul-terminate-then-restore-original ) on a const char * string.
1999-01-27 19:00:49 +00:00
Doug Rabson
6edf3d9144
Supply the symbol table as an argument to X_db_symbol_values (required for elf).
1998-06-28 00:55:02 +00:00
Bruce Evans
94e24bf0f5
Some staticized variables were still declared to be extern.
1997-06-30 23:54:50 +00:00
Bruce Evans
b2b392c442
Don't depend on gcc's feature of interpreting `int foo(c) char c; ...'
...
as `int foo(char c) ...' if there is a bogus prototype `int foo(char c);'
in scope.
1997-06-30 23:49:17 +00:00
Peter Wemm
6875d25465
Back out part 1 of the MCFH that changed $Id$ to $FreeBSD$. We are not
...
ready for it yet.
1997-02-22 09:48:43 +00:00
Jordan K. Hubbard
1130b656e5
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Poul-Henning Kamp
f73a856d23
Staticized and '#ifdef notused' stuff we don't use.
1995-11-29 10:25:50 +00:00
Bruce Evans
4753168fae
Completed function declarations and/or added prototypes.
...
Removed `extern' from prototypes.
Sorted prototypes.
Uniformized idempotency ifdefs.
1995-11-24 13:53:05 +00:00
Rodney W. Grimes
9b2e535452
Remove trailing whitespace.
1995-05-30 08:16:23 +00:00
Bruce Evans
b5e8ce9f12
Add and move declarations to fix all of the warnings from `gcc -Wimplicit'
...
(except in netccitt, netiso and netns) and most of the warnings from
`gcc -Wnested-externs'. Fix all the bugs found. There were no serious
ones.
1995-03-16 18:17:34 +00:00
Poul-Henning Kamp
169cd910b7
Makes gcc silent in sys/ddb.
1994-09-27 03:34:58 +00:00
David Greenman
7b42c960f8
1) cleaned up after Garrett - fixed more redundant declarations, changed
...
use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers.
2) fix a bug in the portalfs that was uncovered by better prototyping -
specifically, the time must be converted from timeval to timespec
before storing in va_atime.
3) fixed/added some miscellaneous prototypes
1994-08-20 03:49:02 +00:00
Garrett Wollman
f23b4c91c4
Fix up some sloppy coding practices:
...
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
1994-08-18 22:36:09 +00:00
Garrett Wollman
6437fb2c06
Make all headers idempotent. All incorrect common data moved out of header
...
files and into a related source file.
1993-11-07 17:39:25 +00:00
Rodney W. Grimes
0edf66eca4
Removed all patch kit headers, sccsid and rcsid strings, put $Id$ in, some
...
minor cleanup. Added $Id$ to files that did not have any version info, etc
1993-10-16 16:47:35 +00:00
Rodney W. Grimes
5b81b6b301
Initial import, 0.1 + pk 0.2.4-B1
1993-06-12 14:58:17 +00:00