summaryrefslogtreecommitdiff
path: root/ddb
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-10-07 22:36:02 +0000
committerRoland McGrath <roland@gnu.org>2001-10-07 22:36:02 +0000
commitf29e33843f75a7d22e262864188c502f4367f6ba (patch)
treec74f08facfab5b3930235b23db4ff3984c70e54d /ddb
parentdd9854ac808623136580ca191f306a1c053b1121 (diff)
2001-10-07 Roland McGrath <roland@frob.com>
* ddb/db_access.c: Fix obsolescent #else/#endif syntax. * device/dev_name.c: Likewise. * device/dev_pager.c: Likewise. * device/ds_routines.c: Likewise. * i386/i386/i386asm.sym: Likewise. * include/device/device_reply.defs: Likewise. * include/mach/memory_object.defs: Likewise. * include/mach/memory_object_default.defs: Likewise.
Diffstat (limited to 'ddb')
-rw-r--r--ddb/db_access.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/ddb/db_access.c b/ddb/db_access.c
index 7a39144..f2ec068 100644
--- a/ddb/db_access.c
+++ b/ddb/db_access.c
@@ -1,25 +1,25 @@
-/*
+/*
* Mach Operating System
* Copyright (c) 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.
*/
@@ -85,7 +85,7 @@ db_get_task_value(addr, size, is_signed, task)
{
value = (value << 8) + (data[i] & 0xFF);
}
-
+
if (size <= sizeof(int)) {
if (is_signed && (value & db_extend[size]) != 0)
value |= db_extend[size];
@@ -134,4 +134,4 @@ db_put_value(addr, size, value)
db_put_task_value(addr, size, value, TASK_NULL);
}
-#endif MACH_KDB
+#endif /* MACH_KDB */