Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/ddb Include "ctype.h" in the central place which deals w...
details: https://anonhg.NetBSD.org/src/rev/3895de8b6e9c
branches: trunk
changeset: 751365:3895de8b6e9c
user: tron <tron%NetBSD.org@localhost>
date: Tue Feb 02 09:04:14 2010 +0000
description:
Include "ctype.h" in the central place which deals with building the
kernel debugger as a userland program.
diffstat:
sys/ddb/db_user.h | 3 ++-
sys/ddb/db_write_cmd.c | 8 ++------
2 files changed, 4 insertions(+), 7 deletions(-)
diffs (45 lines):
diff -r 12737e46f1c3 -r 3895de8b6e9c sys/ddb/db_user.h
--- a/sys/ddb/db_user.h Tue Feb 02 06:52:59 2010 +0000
+++ b/sys/ddb/db_user.h Tue Feb 02 09:04:14 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_user.h,v 1.1 2009/03/07 22:02:17 ad Exp $ */
+/* $NetBSD: db_user.h,v 1.2 2010/02/02 09:04:14 tron Exp $ */
/*-
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -40,6 +40,7 @@
#include <uvm/uvm_extern.h>
+#include <ctype.h>
#include <stdio.h>
#include <string.h>
#include <stdbool.h>
diff -r 12737e46f1c3 -r 3895de8b6e9c sys/ddb/db_write_cmd.c
--- a/sys/ddb/db_write_cmd.c Tue Feb 02 06:52:59 2010 +0000
+++ b/sys/ddb/db_write_cmd.c Tue Feb 02 09:04:14 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_write_cmd.c,v 1.25 2010/02/01 09:56:58 tron Exp $ */
+/* $NetBSD: db_write_cmd.c,v 1.26 2010/02/02 09:04:14 tron Exp $ */
/*
* Mach Operating System
@@ -30,17 +30,13 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_write_cmd.c,v 1.25 2010/02/01 09:56:58 tron Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_write_cmd.c,v 1.26 2010/02/02 09:04:14 tron Exp $");
#include <sys/param.h>
#include <sys/proc.h>
#include <ddb/ddb.h>
-#ifndef _KERNEL
-#include <ctype.h>
-#endif
-
/*
* Write to file.
*/
Home |
Main Index |
Thread Index |
Old Index