pfg
155122ce53
SPDX: Consider code from Carnegie-Mellon University.
...
Interesting cases, most likely from CMU Mach sources.
2017-11-30 15:48:35 +00:00
pfg
b0d837707d
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
pfg
12749f249c
ddb: space/tab fixes.
...
No functional change.
MFC after: 3 days
2014-10-11 20:25:19 +00:00
pfg
c7aba97241
ddb: Minor style cleanups.
...
#define should be followed by tab.
MFC after: 1 week
2014-03-31 16:37:41 +00:00
imp
221512a6a9
Start each of the license/copyright comments with /*-
2005-01-06 01:34:41 +00:00
jmallett
e041d3beea
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
bde
f8611316d9
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
eddc6122c9
Remove __P.
2002-03-20 05:14:42 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
bde
5382007cd0
Fixed -Wcast-qual warnings.
1999-02-12 12:44:19 +00:00
dillon
f9a4729a9b
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
dillon
153f359f37
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
dfr
0cc7230297
Supply the symbol table as an argument to X_db_symbol_values (required for elf).
1998-06-28 00:55:02 +00:00
bde
0f00fbdf2b
Some staticized variables were still declared to be extern.
1997-06-30 23:54:50 +00:00
bde
276d810752
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
94b6d72794
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
jkh
808a36ef65
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
phk
6056f81916
Staticized and '#ifdef notused' stuff we don't use.
1995-11-29 10:25:50 +00:00
bde
c14aa7ae48
Completed function declarations and/or added prototypes.
...
Removed `extern' from prototypes.
Sorted prototypes.
Uniformized idempotency ifdefs.
1995-11-24 13:53:05 +00:00
rgrimes
c86f0c7a71
Remove trailing whitespace.
1995-05-30 08:16:23 +00:00
bde
289f11acb4
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
phk
e3b14acab7
Makes gcc silent in sys/ddb.
1994-09-27 03:34:58 +00:00
dg
c97639b923
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
wollman
f9fc827448
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
wollman
f76e5f0160
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
rgrimes
36dd77db35
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
rgrimes
25062ba061
Initial import, 0.1 + pk 0.2.4-B1
1993-06-12 14:58:17 +00:00