public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: Cooper Qu via Libc-alpha <libc-alpha@sourceware.org>
Cc: Cooper Qu <cooper.qu@linux.alibaba.com>,  han_mao@linux.alibaba.com
Subject: Re: [PATCH] Fix build error when disable nscd.
Date: Wed, 14 Jul 2021 11:36:11 +0200	[thread overview]
Message-ID: <87h7gxfd9w.fsf@oldenburg.str.redhat.com> (raw)
In-Reply-To: <20210713125040.28088-1-cooper.qu@linux.alibaba.com> (Cooper Qu via Libc-alpha's message of "Tue, 13 Jul 2021 20:50:40 +0800")

* Cooper Qu via Libc-alpha:

> The error is as follows:
> nss_module.c: In function 'module_load_nss_files':
> nss_module.c:117:7: error: 'is_nscd' undeclared (first use in this function)
>   117 |   if (is_nscd)
>       |       ^~~~~~~
> nss_module.c:117:7: note: each undeclared identifier is reported only once for each function it appears in
> nss_module.c:119:51: error: 'nscd_init_cb' undeclared (first use in this function); did you mean 'nscd_init'?
>   119 |       void (*cb) (size_t, struct traced_file *) = nscd_init_cb;
>       |                                                   ^~~~~~~~~~~~
>       |                                                   nscd_init

Thanks.  I've applied this for you with minimal changes.

Florian


      reply	other threads:[~2021-07-14  9:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-13 12:50 Cooper Qu
2021-07-14  9:36 ` Florian Weimer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h7gxfd9w.fsf@oldenburg.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=cooper.qu@linux.alibaba.com \
    --cc=han_mao@linux.alibaba.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).