shithub: scc

Download patch

ref: 95fc266ff25c057139b8c336e309d183b76cf751
parent: 7ce5769695cbcd21227a937a5f60d80a1a464d1b
author: Roberto E. Vargas Caballero <[email protected]>
date: Thu May 15 08:22:38 EDT 2014

Add missed prototypes to cc1.h

These prototypes are used in some other modules, so it is a good idea
to add types checking.

--- a/cc1/cc1.h
+++ b/cc1/cc1.h
@@ -210,6 +210,8 @@
 	emitprint(Node *), emitlabel(Symbol *), emitjump(Symbol *, Node *),
 	emitbloop(void), emiteloop(void),
 	emitswitch(short, Node *), emitcase(Symbol *, Node *),
+	emitret(Type *tp),
+	emitfun(Symbol *sym),
 	emitdefault(Symbol *);
 
 extern Node