commit f36a56a6613493f8e19bf0c8449ce1fd001e9002
Author:     Roberto E. Vargas Caballero <[email protected]>
AuthorDate: Thu Jun 16 12:05:27 2016 +0200
Commit:     Roberto E. Vargas Caballero <[email protected]>
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
@@ -284,7 +284,7 @@ ternary(char *token, union tokenop u)
        push(ask);
 }
 
-static Node *
+static void
 eval(char *tok)
 {
        struct decoc *dp;

Reply via email to