replace hexify with bin2hex
[deliverable/binutils-gdb.git] / gdb / common / rsp-low.c
index fd6f56345c6a3cb414bfcb7ee04a3c71dfb25874..a7b001446c8c31cb7e3866f1717ca99f5777d07a 100644 (file)
@@ -172,20 +172,6 @@ bin2hex (const gdb_byte *bin, char *hex, int count)
   return i;
 }
 
-int
-hexify (char *hex, const char *bin, int count)
-{
-  int i;
-
-  for (i = 0; i < count; i++)
-    {
-      *hex++ = tohex ((*bin >> 4) & 0xf);
-      *hex++ = tohex (*bin++ & 0xf);
-    }
-  *hex = 0;
-  return i;
-}
-
 void
 convert_int_to_ascii (const unsigned char *from, char *to, int n)
 {
This page took 0.024527 seconds and 4 git commands to generate.