More const
authorRoy Marples <roy@marples.name>
Tue, 6 May 2014 19:37:58 +0000 (19:37 +0000)
committerRoy Marples <roy@marples.name>
Tue, 6 May 2014 19:37:58 +0000 (19:37 +0000)
src/libdhcpcd/dispatch.c

index 79208334f587e3d92921a2f2775b2083a184d80a..dbe4b7f7d0648c17f2c84adaf08c06f066114329 100644 (file)
@@ -30,7 +30,8 @@
 #define IN_LIBDHCPCD
 #include "libdhcpcd.h"
 
-static const char *dhcpcd_types[] = { "link", "ipv4", "ra", "dhcp6", NULL };
+static const char * const dhcpcd_types[] =
+    { "link", "ipv4", "ra", "dhcp6", NULL };
 
 static const char *
 dhcpcd_message_get_string(DHCPCD_MESSAGE *msg)