shithub: mc

Download patch

ref: b37fc330005640f45c9691fe256993cb0b4e3e6c
parent: 24584aefe1ada81dc018464bdaa012f5a4f73609
author: Ori Bernstein <ori@eigenstate.org>
date: Mon Jul 3 18:54:22 EDT 2017

Actually mark void arg lists as void.

--- a/parse/parse.h
+++ b/parse/parse.h
@@ -502,8 +502,8 @@
 Op exprop(Node *n);
 
 /* specialize generics */
-Tysubst *mksubst();
-void substfree();
+Tysubst *mksubst(void);
+void substfree(Tysubst *subst);
 void substput(Tysubst *subst, Type *from, Type *to);
 Type *substget(Tysubst *subst, Type *from);
 void substpush(Tysubst *subst);