More char constification
[deliverable/binutils-gdb.git] / gdb / ser-tcp.c
index 485ed6c082d78df0f9f49e7e34f563f592a55a80..ce40b6160148ac776572f8f2aff498d04ca56d1f 100644 (file)
@@ -155,7 +155,8 @@ wait_for_connect (struct serial *scb, unsigned int *polls)
 int
 net_open (struct serial *scb, const char *name)
 {
-  char *port_str, hostname[100];
+  char hostname[100];
+  const char *port_str;
   int n, port, tmp;
   int use_udp;
   struct hostent *hostent;
This page took 0.024074 seconds and 4 git commands to generate.