Module Name:    src
Committed By:   tron
Date:           Tue Feb  2 09:04:14 UTC 2010

Modified Files:
        src/sys/ddb: db_user.h db_write_cmd.c

Log Message:
Include "ctype.h" in the central place which deals with building the
kernel debugger as a userland program.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/ddb/db_user.h
cvs rdiff -u -r1.25 -r1.26 src/sys/ddb/db_write_cmd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/ddb/db_user.h
diff -u src/sys/ddb/db_user.h:1.1 src/sys/ddb/db_user.h:1.2
--- src/sys/ddb/db_user.h:1.1	Sat Mar  7 22:02:17 2009
+++ src/sys/ddb/db_user.h	Tue Feb  2 09:04:14 2010
@@ -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>

Index: src/sys/ddb/db_write_cmd.c
diff -u src/sys/ddb/db_write_cmd.c:1.25 src/sys/ddb/db_write_cmd.c:1.26
--- src/sys/ddb/db_write_cmd.c:1.25	Mon Feb  1 09:56:58 2010
+++ src/sys/ddb/db_write_cmd.c	Tue Feb  2 09:04:14 2010
@@ -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.
  */

Reply via email to