From: Gerlando Falauto <gerlando.falauto@keymile.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] env: allow to export only selected variables
Date: Thu, 17 Nov 2011 20:06:55 +0100 [thread overview]
Message-ID: <4EC55B4F.4060007@keymile.com> (raw)
In-Reply-To: <1320754970-26150-1-git-send-email-wd@denx.de>
Dear Wolfgang Denk,
> --- a/include/search.h
> +++ b/include/search.h
> @@ -91,7 +91,8 @@ extern int hstrstr_r(const char *__match, int __last_idx, ENTRY ** __retval,
> extern int hdelete_r(const char *__key, struct hsearch_data *__htab);
>
> extern ssize_t hexport_r(struct hsearch_data *__htab,
> - const char __sep, char **__resp, size_t __size);
> + const char __sep, char **__resp, size_t __size,
> + int argc, char * const argv[]);
>
> extern int himport_r(struct hsearch_data *__htab,
> const char *__env, size_t __size, const char __sep,
> diff --git a/lib/hashtable.c b/lib/hashtable.c
> index 6895550..b7ba341 100644
> --- a/lib/hashtable.c
> +++ b/lib/hashtable.c
> @@ -478,7 +478,8 @@ static int cmpkey(const void *p1, const void *p2)
> }
>
> ssize_t hexport_r(struct hsearch_data *htab, const char sep,
> - char **resp, size_t size)
> + char **resp, size_t size,
> + int argc, char * const argv[])
> {
> ENTRY *list[htab->size];
> char *res, *p;
What happened to "please indent with TABs only"?
Have I missed something, perhaps?
Thank you,
Gerlando Falauto
next prev parent reply other threads:[~2011-11-17 19:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-08 12:22 [U-Boot] [PATCH] env: allow to export only selected variables Wolfgang Denk
2011-11-17 18:47 ` Gerlando Falauto
2011-11-17 19:06 ` Gerlando Falauto [this message]
2011-11-17 19:18 ` Wolfgang Denk
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=4EC55B4F.4060007@keymile.com \
--to=gerlando.falauto@keymile.com \
--cc=u-boot@lists.denx.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.