Browse Source

indentation whitespace nits (saves a few bytes even)

OPENBSD_3_7
david 20 years ago
parent
commit
c8ab3c3683
4 changed files with 16 additions and 16 deletions
  1. +2
    -2
      src/etc/MAKEDEV.mi
  2. +5
    -5
      src/etc/MAKEDEV.sub
  3. +3
    -3
      src/etc/etc.mac68k/MAKEDEV.md
  4. +6
    -6
      src/etc/etc.mvmeppc/MAKEDEV.md

+ 2
- 2
src/etc/MAKEDEV.mi View File

@ -1,7 +1,7 @@
define(COMM,`#')dnl define(COMM,`#')dnl
include(MAKEDEV.sub)dnl include(MAKEDEV.sub)dnl
dnl dnl
vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.72 2004/02/16 18:58:53 miod Exp $-})dnl
vers(a, {-$OpenBSD: MAKEDEV.mi,v 1.73 2005/02/07 06:14:18 david Exp $-})dnl
dnl dnl
divert(1)dnl divert(1)dnl
{-#-} {-#-}
@ -87,7 +87,7 @@ hex()
alph2d() alph2d()
{ {
local t="$1"
local t="$1"
local p="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ" local p="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
local sub=${p%${t}*} local sub=${p%${t}*}
echo ${#sub} echo ${#sub}


+ 5
- 5
src/etc/MAKEDEV.sub View File

@ -1,4 +1,4 @@
dnl $OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $
dnl $OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp $
dnl dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
dnl dnl
@ -26,7 +26,7 @@ changequote(`{-', `-}')dnl
dnl dnl
dnl o Next, change the comment character to make shell parameter dnl o Next, change the comment character to make shell parameter
dnl substitution possible dnl substitution possible
dnl
dnl
changecom(`/*', `*/')dnl changecom(`/*', `*/')dnl
dnl dnl
dnl o version info must be stripped of $ so we can say 'generated from' below dnl o version info must be stripped of $ so we can say 'generated from' below
@ -71,8 +71,8 @@ dnl store a version string for 'this' file
dnl dnl
dnl vers ( uniqueidstring, versionstring, subdir ) dnl vers ( uniqueidstring, versionstring, subdir )
dnl dnl
dnl example1: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-})
dnl example2: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-}, etc.MACHINE)
dnl example1: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp $-})
dnl example2: vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp $-}, etc.MACHINE)
dnl dnl
dnl if subdir is defined, prepend it to the filename in the version string dnl if subdir is defined, prepend it to the filename in the version string
dnl dnl
@ -83,7 +83,7 @@ define({-vers-},
dnl dnl
dnl Version info for this file: dnl Version info for this file:
dnl dnl
vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.13 2005/01/28 18:51:38 danh Exp $-})dnl
vers(__file__, {-$OpenBSD: MAKEDEV.sub,v 1.14 2005/02/07 06:14:18 david Exp $-})dnl
dnl dnl
dnl dnl
define({-_addsubdir-}, define({-_addsubdir-},


+ 3
- 3
src/etc/etc.mac68k/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.17 2004/04/11 18:05:23 millert Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.18 2005/02/07 06:14:18 david Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@ -102,8 +102,8 @@ adb)
;; ;;
asc*) asc*)
M asc$U c 36 $U
;;
M asc$U c 36 $U
;;
dnl dnl
dnl *** mac68k specific targets dnl *** mac68k specific targets
dnl dnl


+ 6
- 6
src/etc/etc.mvmeppc/MAKEDEV.md View File

@ -1,5 +1,5 @@
vers(__file__, vers(__file__,
{-$OpenBSD: MAKEDEV.md,v 1.17 2005/01/28 18:56:27 danh Exp $-},
{-$OpenBSD: MAKEDEV.md,v 1.18 2005/02/07 06:14:18 david Exp $-},
etc.MACHINE)dnl etc.MACHINE)dnl
dnl dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org> dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@ -354,17 +354,17 @@ ttyCcfg)
rm -f ttyCcfg rm -f ttyCcfg
mknod ttyCcfg c $major $minor mknod ttyCcfg c $major $minor
chown root:wheel ttyCcfg chown root:wheel ttyCcfg
;;
;;
ttyC*) ttyC*)
type=C type=C
unit=${i##ttyC} unit=${i##ttyC}
major=67 major=67
minor=$unit minor=$unit
rm -f tty$type$unit
mknod tty$type$unit c $major $minor
chown root:wheel tty$type$unit
;;
rm -f tty$type$unit
mknod tty$type$unit c $major $minor
chown root:wheel tty$type$unit
;;
bpf*) bpf*)
unit=${i##*[a-z]} unit=${i##*[a-z]}


Loading…
Cancel
Save