shithub: sf2mid

Download patch

ref: 13f54576a22ff9dbaf498e006a6eb09007115684
parent: e544752e1ad724552864df9ba07b56e0da496edd
author: David Rubinstein <drubinstein91@gmail.com>
date: Thu Jul 26 11:10:03 EDT 2018

Make missing statics

--- a/tml.h
+++ b/tml.h
@@ -238,12 +238,12 @@
 	TML_SYNC  = 0xf8, TML_TICK      = 0xf9, TML_START         = 0xfa, TML_CONTINUE       = 0xfb, TML_STOP          = 0xfc, TML_ACTIVE_SENSING  = 0xfe, TML_SYSTEM_RESET = 0xff
 };
 
-int tml_readbyte(struct tml_parser* p)
+static int tml_readbyte(struct tml_parser* p)
 {
 	return (p->buf == p->buf_end ? -1 : *(p->buf++));
 }
 
-int tml_readvariablelength(struct tml_parser* p)
+static int tml_readvariablelength(struct tml_parser* p)
 {
 	unsigned int res = 0, i = 0;
 	unsigned char c;