code: drawterm

Download patch

ref: 01dc1e2c37938eea4226ac299dc518bfab6ef0c0
parent: 9f46d48804714b234079e3ee463d473391d726be
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Thu Nov 17 13:14:54 EST 2016

devtls: remove unused get32() function

--- a/kern/devtls.c
+++ b/kern/devtls.c
@@ -236,7 +236,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	get16(uchar *p);
 static void	tlsSetState(TlsRec *tr, int new, int old);
 static void	rcvAlert(TlsRec *tr, int err);
@@ -2324,12 +2323,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