shithub: mc

Download patch

ref: 8317e87e7b6f9a15ff41f9f7293ef46dc208d0d7
parent: 43002686eddf2bf80351b77dfd77337da647d227
author: Ori Bernstein <ori@eigenstate.org>
date: Sat Aug 26 16:43:35 EDT 2017

Make internal functions static.

--- a/parse/type.c
+++ b/parse/type.c
@@ -723,7 +723,7 @@
 	return hash;
 }
 
-ulong
+static ulong
 typairhash(void *pp)
 {
 	Typair *p;
@@ -732,7 +732,7 @@
 	return inthash(p->atid) ^ inthash(p->btid);
 }
 
-int
+static int
 typaireq(void *a, void *b)
 {
 	Typair *pa, *pb;
@@ -741,7 +741,7 @@
 	return pa->atid == pb->atid && pa->btid == pb->btid;
 }
 
-void
+static void
 equate(int32_t ta, int32_t tb)
 {
 	Typair *pa, *pb;