summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2001-07-06 15:31:47 +0000
committerEli Zaretskii <eliz@gnu.org>2001-07-06 15:31:47 +0000
commit7677c808b497cd771131e3779350312e23ec8286 (patch)
treed13a6fd51b69a6128306fbd2472097e1cd792bab /src
parent6573d87f38186c1bb66e6bb05726ac7e846d77e8 (diff)
downloademacs-7677c808b497cd771131e3779350312e23ec8286.tar.gz
(do_visible_bell): Add \n\ at the end of each line of
inline assembly, to avoid compiler warnings. (syms_of_msdos): Add \n\ at the end of a doc string line for dos-unsupported-char-glyph.
Diffstat (limited to 'src')
-rw-r--r--src/msdos.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/msdos.c b/src/msdos.c
index bdc215fcdf8..79ac0b9026c 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -468,29 +468,29 @@ do_visible_bell (xorattr)
unsigned char xorattr;
{
asm volatile
- (" movb $1,%%dl
-visible_bell_0:
- movl _ScreenPrimary,%%eax
- call dosmemsetup
- movl %%eax,%%ebx
- movl %1,%%ecx
- movb %0,%%al
- incl %%ebx
-visible_bell_1:
- xorb %%al,%%gs:(%%ebx)
- addl $2,%%ebx
- decl %%ecx
- jne visible_bell_1
- decb %%dl
- jne visible_bell_3
-visible_bell_2:
- movzwl %%ax,%%eax
- movzwl %%ax,%%eax
- movzwl %%ax,%%eax
- movzwl %%ax,%%eax
- decw %%cx
- jne visible_bell_2
- jmp visible_bell_0
+ (" movb $1,%%dl \n\
+visible_bell_0: \n\
+ movl _ScreenPrimary,%%eax \n\
+ call dosmemsetup \n\
+ movl %%eax,%%ebx \n\
+ movl %1,%%ecx \n\
+ movb %0,%%al \n\
+ incl %%ebx \n\
+visible_bell_1: \n\
+ xorb %%al,%%gs:(%%ebx) \n\
+ addl $2,%%ebx \n\
+ decl %%ecx \n\
+ jne visible_bell_1 \n\
+ decb %%dl \n\
+ jne visible_bell_3 \n\
+visible_bell_2: \n\
+ movzwl %%ax,%%eax \n\
+ movzwl %%ax,%%eax \n\
+ movzwl %%ax,%%eax \n\
+ movzwl %%ax,%%eax \n\
+ decw %%cx \n\
+ jne visible_bell_2 \n\
+ jmp visible_bell_0 \n\
visible_bell_3:"
: /* no output */
: "m" (xorattr), "g" (screen_size)
@@ -5332,7 +5332,7 @@ wide as that tab on the display. (No effect on MS-DOS.)");
DEFVAR_LISP ("dos-unsupported-char-glyph", &Vdos_unsupported_char_glyph,
"*Glyph to display instead of chars not supported by current codepage.\n\
-
+\n\
This variable is used only by MSDOS terminals.");
Vdos_unsupported_char_glyph = '\177';
#endif