git: 9front

Download patch

ref: 737994f8a73ee34e104f3e640a437550ba902ff3
parent: 8cb3f8c1c7bbe7fa5625d6a0c3b4665759493e7d
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Nov 17 14:54:13 EST 2016

libsec: remove unused get32() function

--- a/sys/src/libsec/port/tlshand.c
+++ b/sys/src/libsec/port/tlshand.c
@@ -440,7 +440,6 @@
 static void put32(uchar *p, u32int);
 static void put24(uchar *p, int);
 static void put16(uchar *p, int);
-static u32int get32(uchar *p);
 static int get24(uchar *p);
 static int get16(uchar *p);
 static Bytes* newbytes(int len);
@@ -3013,12 +3012,6 @@
 {
 	p[0] = x>>8;
 	p[1] = x;
-}
-
-static u32int
-get32(uchar *p)
-{
-	return (p[0]<<24)|(p[1]<<16)|(p[2]<<8)|p[3];
 }
 
 static int
--