diff options
author | Roland McGrath <roland@gnu.org> | 2001-10-07 22:36:02 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2001-10-07 22:36:02 +0000 |
commit | f29e33843f75a7d22e262864188c502f4367f6ba (patch) | |
tree | c74f08facfab5b3930235b23db4ff3984c70e54d /device/dev_name.c | |
parent | dd9854ac808623136580ca191f306a1c053b1121 (diff) | |
download | gnumach-f29e33843f75a7d22e262864188c502f4367f6ba.tar.gz gnumach-f29e33843f75a7d22e262864188c502f4367f6ba.tar.bz2 gnumach-f29e33843f75a7d22e262864188c502f4367f6ba.zip |
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 'device/dev_name.c')
-rw-r--r-- | device/dev_name.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/device/dev_name.c b/device/dev_name.c index 99d9227a..29a144b1 100644 --- a/device/dev_name.c +++ b/device/dev_name.c @@ -1,25 +1,25 @@ -/* +/* * Mach Operating System * Copyright (c) 1991,1990,1989 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. */ @@ -104,7 +104,7 @@ boolean_t dev_name_lookup(name, ops, unit) #if 0 printf("lookup on name %s\n",name); -#endif 0 +#endif /* 0 */ /* * Find device type name (characters before digit) @@ -184,7 +184,7 @@ boolean_t dev_name_lookup(name, ops, unit) */ #if 0 *unit = *unit * j + (c - 'a' +1); /* +1 to start 'a' at 1 */ -#endif 0 +#endif /* 0 */ *unit += (c - 'a' +1); } } |