shithub: scc

Download patch

ref: a32d55dfcfb2b73c6643013962c8ca850984eaec
parent: 6c02870f4f2fdae06b66a94446f8d3d0bd0d4045
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Jun 16 08:05:27 EDT 2016

[cc2] change return type of eval()

If we do not have anything to return then it is better to declare
it as void.

--- a/cc2/parser.c
+++ b/cc2/parser.c
@@ -284,7 +284,7 @@
 	push(ask);
 }
 
-static Node *
+static void
 eval(char *tok)
 {
 	struct decoc *dp;
--