diff options
author | wollman <wollman@FreeBSD.org> | 1993-12-19 00:55:01 +0000 |
---|---|---|
committer | wollman <wollman@FreeBSD.org> | 1993-12-19 00:55:01 +0000 |
commit | 71b67e5a560e27117fd4ff9fe76b1e67f1423f1e (patch) | |
tree | 62dff2aa17f4c31d27a9595b764f9cbc9810eb80 /sys/ddb | |
parent | c7341bb860bd0d1789ca0b8bfce96c383fd7dbbc (diff) | |
download | FreeBSD-src-71b67e5a560e27117fd4ff9fe76b1e67f1423f1e.zip FreeBSD-src-71b67e5a560e27117fd4ff9fe76b1e67f1423f1e.tar.gz |
Make everything compile with -Wtraditional. Make it easier to distribute
a binary link-kit. Make all non-optional options (pagers, procfs) standard,
and update LINT to reflect new symtab requirements.
NB: -Wtraditional will henceforth be forgotten. This editing pass was
primarily intended to detect any constructions where the old code might
have been relying on traditional C semantics or syntax. These were all
fixed, and the result of fixing some of them means that -Wall is now a
realistic possibility within a few weeks.
Diffstat (limited to 'sys/ddb')
-rw-r--r-- | sys/ddb/db_access.c | 5 | ||||
-rw-r--r-- | sys/ddb/db_examine.c | 13 | ||||
-rw-r--r-- | sys/ddb/db_input.c | 5 | ||||
-rw-r--r-- | sys/ddb/db_output.c | 5 |
4 files changed, 16 insertions, 12 deletions
diff --git a/sys/ddb/db_access.c b/sys/ddb/db_access.c index b519e28..9c8a00b 100644 --- a/sys/ddb/db_access.c +++ b/sys/ddb/db_access.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_access.c,v 1.2 1993/10/16 16:47:04 rgrimes Exp $ + * $Id: db_access.c,v 1.3 1993/11/25 01:30:01 wollman Exp $ */ /* @@ -31,8 +31,9 @@ * Date: 7/90 */ #include "param.h" +#include "systm.h" #include "proc.h" -#include <machine/db_machdep.h> /* type definitions */ +#include "ddb/ddb.h" /* * Access unaligned data items on aligned (longword) diff --git a/sys/ddb/db_examine.c b/sys/ddb/db_examine.c index bf9a4c7..f4f7ba1 100644 --- a/sys/ddb/db_examine.c +++ b/sys/ddb/db_examine.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_examine.c,v 1.2 1993/10/16 16:47:13 rgrimes Exp $ + * $Id: db_examine.c,v 1.3 1993/11/25 01:30:05 wollman Exp $ */ /* @@ -36,10 +36,11 @@ #include "ddb/ddb.h" -#include <ddb/db_lex.h> -#include <ddb/db_output.h> -#include <ddb/db_command.h> -#include <ddb/db_sym.h> +#include "ddb/db_lex.h" +#include "ddb/db_output.h" +#include "ddb/db_command.h" +#include "ddb/db_sym.h" +#include "ddb/db_access.h" char db_examine_format[TOK_STRING_SIZE] = "x"; @@ -302,7 +303,7 @@ db_search_cmd(db_expr_t dummy1, int dummy2, db_expr_t dummy3, char *dummy4) } if (!db_expression(&mask)) - mask = 0xffffffff; + mask = 0xffffffffUL; t = db_read_token(); if (t == tCOMMA) { diff --git a/sys/ddb/db_input.c b/sys/ddb/db_input.c index 3f18cd8..94bab94 100644 --- a/sys/ddb/db_input.c +++ b/sys/ddb/db_input.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_input.c,v 1.2 1993/10/16 16:47:16 rgrimes Exp $ + * $Id: db_input.c,v 1.3 1993/11/25 01:30:06 wollman Exp $ */ /* @@ -35,7 +35,8 @@ #include "systm.h" #include "proc.h" #include "ddb/ddb.h" -#include <ddb/db_output.h> +#include "ddb/db_output.h" +#include "machine/cons.h" /* * Character input and editing. diff --git a/sys/ddb/db_output.c b/sys/ddb/db_output.c index 440f486..fc1bb14 100644 --- a/sys/ddb/db_output.c +++ b/sys/ddb/db_output.c @@ -23,7 +23,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: db_output.c,v 1.4 1993/10/16 16:47:20 rgrimes Exp $ + * $Id: db_output.c,v 1.5 1993/11/25 01:30:08 wollman Exp $ */ /* @@ -37,8 +37,9 @@ #include "param.h" #include "systm.h" -#include <machine/stdarg.h> +#include "machine/stdarg.h" #include "ddb/ddb.h" +#include "machine/cons.h" /* * Character output - tracks position in line. |