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
include(MAKEDEV.sub)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
divert(1)dnl
{-#-}
@ -87,7 +87,7 @@ hex()
alph2d()
{
local t="$1"
local t="$1"
local p="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
local sub=${p%${t}*}
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 Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
dnl
@ -26,7 +26,7 @@ changequote(`{-', `-}')dnl
dnl
dnl o Next, change the comment character to make shell parameter
dnl substitution possible
dnl
dnl
changecom(`/*', `*/')dnl
dnl
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 vers ( uniqueidstring, versionstring, subdir )
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 if subdir is defined, prepend it to the filename in the version string
dnl
@ -83,7 +83,7 @@ define({-vers-},
dnl
dnl Version info for this file:
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
define({-_addsubdir-},


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

@ -1,5 +1,5 @@
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
dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@ -102,8 +102,8 @@ adb)
;;
asc*)
M asc$U c 36 $U
;;
M asc$U c 36 $U
;;
dnl
dnl *** mac68k specific targets
dnl


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

@ -1,5 +1,5 @@
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
dnl
dnl Copyright (c) 2001-2004 Todd T. Fries <todd@OpenBSD.org>
@ -354,17 +354,17 @@ ttyCcfg)
rm -f ttyCcfg
mknod ttyCcfg c $major $minor
chown root:wheel ttyCcfg
;;
;;
ttyC*)
type=C
unit=${i##ttyC}
major=67
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*)
unit=${i##*[a-z]}


Loading…
Cancel
Save