mark const.
(cmd): Mark as const.
2005-12-20 Ulrich Drepper <drepper@redhat.com>
- * resolv/res_hconf.c (cmd): Mark as const.
+ * resolv/res_hconf.c (arg_service_list): Reduce size of svcs and
+ mark const.
+ (cmd): Mark as const.
(parse_line): Mark c as pointer to const.
* misc/getusershell.c (initshells): Remove unnecessary tests.
const char *start;
size_t len;
size_t i;
- static struct
+ static const struct
{
- const char * name;
- enum Name_Service service;
+ const char name[6];
+ int16_t service;
} svcs[] =
{
{"bind", SERVICE_BIND},