shithub: riscv

Download patch

ref: 62513de3f29a39606c0c5fa876baf9efc3ae7be5
parent: 6042c7b2740781ca32509f9e7b7ab0daee16d810
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Sun Feb 9 18:55:12 EST 2025

vnc: remove hexdump() function

--- a/sys/src/cmd/vnc/proto.c
+++ b/sys/src/cmd/vnc/proto.c
@@ -266,19 +266,6 @@
 }
 
 void
-hexdump(void *a, int n)
-{
-	uchar *p, *ep;
-
-	p = a;
-	ep = p+n;
-
-	for(; p<ep; p++) 
-		print("%.2ux ", *p);
-	print("\n");
-}
-
-void
 vncgobble(Vnc *v, long n)
 {
 	uchar buf[8192];
--- a/sys/src/cmd/vnc/vnc.h
+++ b/sys/src/cmd/vnc/vnc.h
@@ -141,8 +141,6 @@
 extern	void		vnclock(Vnc*);		/* for writing */
 extern	void		vncunlock(Vnc*);
 
-extern	void		hexdump(void*, int);
-
 /* implemented by clients of the io library */
 extern	void		vnchungup(Vnc*);
 
--