This should read const char *, not char char *.
authorJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 22 Sep 2004 08:54:27 +0000 (08:54 +0000)
committerJoerg Sonnenberger <joerg@dragonflybsd.org>
Wed, 22 Sep 2004 08:54:27 +0000 (08:54 +0000)
sys/netinet/tcp_fsm.h

index 247d148..a1ac84a 100644 (file)
@@ -32,7 +32,7 @@
  *
  *     @(#)tcp_fsm.h   8.1 (Berkeley) 6/10/93
  * $FreeBSD: src/sys/netinet/tcp_fsm.h,v 1.14 1999/11/07 04:18:30 jlemon Exp $
- * $DragonFly: src/sys/netinet/tcp_fsm.h,v 1.4 2004/09/22 05:00:06 joerg Exp $
+ * $DragonFly: src/sys/netinet/tcp_fsm.h,v 1.5 2004/09/22 08:54:27 joerg Exp $
  */
 
 #ifndef _NETINET_TCP_FSM_H_
@@ -107,7 +107,7 @@ int tcp_acounts[TCP_NSTATES][PRU_NREQ];
 #endif
 
 #ifdef TCPSTATES
-char char *tcpstates[] = {
+const char *tcpstates[] = {
        "TERMINATING",
        "CLOSED",       "LISTEN",       "SYN_SENT",     "SYN_RCVD",
        "ESTABLISHED",  "CLOSE_WAIT",   "FIN_WAIT_1",   "CLOSING",