diff options
Diffstat (limited to 'ddb/db_input.c')
-rw-r--r-- | ddb/db_input.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/ddb/db_input.c b/ddb/db_input.c index c175ae1..f45d4f9 100644 --- a/ddb/db_input.c +++ b/ddb/db_input.c @@ -1,25 +1,25 @@ -/* +/* * Mach Operating System * Copyright (c) 1992,1991,1990 Carnegie Mellon University * All Rights Reserved. - * + * * Permission to use, copy, modify and distribute this software and its * documentation is hereby granted, provided that both the copyright * notice and this permission notice appear in all copies of the * software, derivative works or modified versions, and any portions * thereof, and that both notices appear in supporting documentation. - * + * * CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" * CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR * ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE. - * + * * Carnegie Mellon requests users of this software to return to - * + * * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU * School of Computer Science * Carnegie Mellon University * Pittsburgh PA 15213-3890 - * + * * any improvements or extensions that they make and grant Carnegie Mellon * the rights to redistribute these changes. */ @@ -38,7 +38,7 @@ #ifndef DB_HISTORY_SIZE #define DB_HISTORY_SIZE 4000 -#endif DB_HISTORY_SIZE +#endif /* DB_HISTORY_SIZE */ /* * Character input and editing. @@ -60,7 +60,7 @@ char * db_history_curr = db_history; /* start of current line */ char * db_history_last = db_history; /* start of last line */ char * db_history_prev = (char *) 0; /* start of previous line */ #endif - + #define CTRL(c) ((c) & 0x1f) #define isspace(c) ((c) == ' ' || (c) == '\t') #define BLANK ' ' @@ -133,7 +133,7 @@ db_delete_line() db_history_size - 1; \ } while (0) #endif - + /* returns TRUE at end-of-line */ boolean_t db_inputchar(c) @@ -375,4 +375,4 @@ db_check_interrupt() } } -#endif MACH_KDB +#endif /* MACH_KDB */ |