aboutsummaryrefslogtreecommitdiffstats
path: root/mbr/adjust.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:33 -0700
committerH. Peter Anvin <hpa@zytor.com>2009-05-29 15:10:33 -0700
commitf3ae12c8f7a2af6656c613549555f2b08b2d9708 (patch)
tree5c671d3e7e71e4ec49d960904f8c0cde5ac6d76c /mbr/adjust.h
parent2e1fa84356f91cdfa175d5c331c5bb0bb814f9bc (diff)
downloadsyslinux-f3ae12c8f7a2af6656c613549555f2b08b2d9708.tar.gz
syslinux-f3ae12c8f7a2af6656c613549555f2b08b2d9708.tar.xz
syslinux-f3ae12c8f7a2af6656c613549555f2b08b2d9708.zip
Run Nindent on mbr/adjust.h
Automatically reformat mbr/adjust.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'mbr/adjust.h')
-rw-r--r--mbr/adjust.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/mbr/adjust.h b/mbr/adjust.h
index 42c12a35..1feb5d38 100644
--- a/mbr/adjust.h
+++ b/mbr/adjust.h
@@ -35,19 +35,11 @@
#define ADJUST_H
#ifdef CTRL_80
- .macro ADJUST_DRIVE
- testb $0x04, BIOS_kbdflags
- jz 1f
- movb $0x80, %dl
-1:
- .endm
+.macro ADJUST_DRIVE testb $0x04, BIOS_kbdflags jz 1f movb $0x80, %dl 1:
+.endm
#elif defined(FORCE_80)
- .macro ADJUST_DRIVE
- movb $0x80, %dl
- .endm
+.macro ADJUST_DRIVE movb $0x80, %dl.endm
#else
- .macro ADJUST_DRIVE
- .endm
+.macro ADJUST_DRIVE.endm
#endif
-
#endif /* ADJUST_H */