shithub: riscv

Download patch

ref: 6fc0e0541c6f27dcb4c6196eab5badedf49c01c8
parent: b4db73795e37e1233b0eca57ff3ae11207882861
author: cinap_lenrek <[email protected]>
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