[hackers] [scc] [cc2] change return type of eval() || Roberto E. Vargas Caballero
commit f36a56a6613493f8e19bf0c8449ce1fd001e9002
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Thu Jun 16 12:05:27 2016 +0200
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Thu Jun 16 12:05:27 2016 +0200
[cc2] change return type of eval()
If we do not have anything to return then it is better to declare
it as void.
diff --git a/cc2/parser.c b/cc2/parser.c
index 9d7ff0d..ab54632 100644
--- a/cc2/parser.c
+++ b/cc2/parser.c
_AT_@ -284,7 +284,7 @@ ternary(char *token, union tokenop u)
push(ask);
}
-static Node *
+static void
eval(char *tok)
{
struct decoc *dp;
Received on Thu Jun 16 2016 - 12:06:20 CEST
This archive was generated by hypermail 2.3.0
: Thu Jun 16 2016 - 12:12:14 CEST