aboutsummaryrefslogtreecommitdiff
path: root/src/include/gdb_packet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gdb_packet.h')
-rw-r--r--src/include/gdb_packet.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/include/gdb_packet.h b/src/include/gdb_packet.h
index 9f5430f..aa1a654 100644
--- a/src/include/gdb_packet.h
+++ b/src/include/gdb_packet.h
@@ -21,12 +21,10 @@
#ifndef __GDB_PACKET_H
#define __GDB_PACKET_H
-#include <string.h>
-
-int gdb_getpacket(unsigned char *packet, int size);
-void gdb_putpacket(unsigned char *packet, int size);
+int gdb_getpacket(char *packet, int size);
+void gdb_putpacket(const char *packet, int size);
#define gdb_putpacketz(packet) gdb_putpacket((packet), strlen(packet))
-void gdb_putpacket_f(const unsigned char *packet, ...);
+void gdb_putpacket_f(const char *packet, ...);
void gdb_out(const char *buf);
void gdb_outf(const char *fmt, ...);