no wide character constants; sigh
diff --git a/src/cmd/ed.c b/src/cmd/ed.c
index 0b4be59..f44acb0 100644
--- a/src/cmd/ed.c
+++ b/src/cmd/ed.c
@@ -393,7 +393,7 @@
newline();
count = addr2 - zero;
putd();
- putchr(L'\n');
+ putchr('\n');
continue;
case '!':
@@ -419,7 +419,7 @@
if(listn) {
count = a1-zero;
putd();
- putchr(L'\t');
+ putchr('\t');
}
putshst(getline(*a1++));
} while(a1 <= addr2);
@@ -624,7 +624,7 @@
io = -1;
if(vflag) {
putd();
- putchr(L'\n');
+ putchr('\n');
}
}
@@ -653,7 +653,7 @@
close(io);
io = -1;
}
- putchr(L'?');
+ putchr('?');
putst(s);
}
@@ -687,7 +687,7 @@
if(strcmp(s, "interrupt") == 0){
if(rescuing || waiting)
noted(NCONT);
- putchr(L'\n');
+ putchr('\n');
lastc = '\n';
error1(Q);
notejmp(a, savej, 0);
@@ -1496,7 +1496,7 @@
count /= 10;
if(count)
putd();
- putchr(r + L'0');
+ putchr(r + '0');
}
void
@@ -1511,7 +1511,7 @@
break;
putchr(r);
}
- putchr(L'\n');
+ putchr('\n');
}
void
@@ -1520,7 +1520,7 @@
col = 0;
while(*sp)
putchr(*sp++);
- putchr(L'\n');
+ putchr('\n');
}
void