openbsd-ports/math/sc/patches/patch-lex_c

17 lines
301 B
Plaintext

$OpenBSD: patch-lex_c,v 1.2 2002/08/06 00:45:17 pvalchev Exp $
--- lex.c.orig Mon Nov 5 17:40:12 2001
+++ lex.c Mon Aug 5 18:30:21 2002
@@ -433,10 +433,10 @@ char dont_use[] = {
ctl('x'), ctl('z'), 0
};
-void
+int
charout(int c)
{
- (void)putchar(c);
+ return putchar(c);
}
void