This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] remove nested functions from elf/dl-load.c
- From: Roland McGrath <roland at hack dot frob dot com>
- To: Konstantin Serebryany <konstantin dot s dot serebryany at gmail dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Wed, 8 Oct 2014 15:20:36 -0700 (PDT)
- Subject: Re: [PATCH] remove nested functions from elf/dl-load.c
- Authentication-results: sourceware.org; auth=none
- References: <CAGQ9bdxsbz1zjaNtOdEXdMd6kwJ_zqh1riNLK46nk84Qw+jXZw at mail dot gmail dot com> <20141001231600 dot 572652C3AAA at topped-with-meat dot com> <CAGQ9bdz8AXddPbHG4hKLdaSvbR6uoBbZ9jKZHi6Ba9vriBdKGA at mail dot gmail dot com>
> + struct add_path_state p = {counting, 0, si,
> + (char *) &si->dls_serpath[si->dls_cnt]};
Indent the initializer properly. It's easier to read if you use tagged
member initializers too.