aboutsummaryrefslogblamecommitdiff
path: root/math/sc/files/patch-ab
blob: fe36e0c444b2fe3db860ae732218ce2b62c8b9b2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

                                        













                          








                                  
--- lex.c.orig	Mon May 11 13:43:36 1992
+++ lex.c	Sun Dec  2 15:23:46 2001
@@ -384,11 +384,11 @@
 	ctl('z'), 0
 };
 
-void
+int
 charout(c)
 int c;
 {
-	(void)putchar(c);
+	return putchar(c);
 }
 
 void
@@ -493,7 +493,7 @@
     if (dumpindex && *dumpindex)
 	    return (*dumpindex++);
 
-    c = toascii(getchar());
+    c = getchar();
     biggest = 0;
     almost = 0;