mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-14 01:00:07 +00:00
* resolv/res_hconf.c (cmd): Mark as const.
(parse_line): Mark c as pointer to const.
This commit is contained in:
parent
970362dc56
commit
545f1b1177
@ -1,5 +1,8 @@
|
||||
2005-12-20 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* resolv/res_hconf.c (cmd): Mark as const.
|
||||
(parse_line): Mark c as pointer to const.
|
||||
|
||||
* misc/getusershell.c (initshells): Remove unnecessary tests.
|
||||
(endusershell): Likewise.
|
||||
(okshells): Mark as const.
|
||||
|
@ -67,7 +67,7 @@ static const char *arg_trimdomain_list (const char *, int, const char *,
|
||||
static const char *arg_spoof (const char *, int, const char *, unsigned int);
|
||||
static const char *arg_bool (const char *, int, const char *, unsigned int);
|
||||
|
||||
static struct cmd
|
||||
static const struct cmd
|
||||
{
|
||||
const char *name;
|
||||
const char *(*parse_args) (const char * filename, int line_num,
|
||||
@ -315,7 +315,7 @@ static void
|
||||
parse_line (const char *fname, int line_num, const char *str)
|
||||
{
|
||||
const char *start;
|
||||
struct cmd *c = 0;
|
||||
const struct cmd *c = 0;
|
||||
size_t len;
|
||||
size_t i;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user