From: Denis Kenzior <denkenz@gmail.com>
To: Kasper Kantz <kasperkantz@outlook.com>, iwd@lists.linux.dev
Subject: Re: [PATCH] main: remove static from const strlen
Date: Fri, 12 Jul 2024 16:25:00 -0500 [thread overview]
Message-ID: <ed69aafd-d81b-4f8e-9907-383485d21aae@gmail.com> (raw)
In-Reply-To: <DM4PR14MB488070291579BF883BDD0195A8A62@DM4PR14MB4880.namprd14.prod.outlook.com>
Hi Kasper,
On 7/12/24 2:32 PM, Kasper Kantz wrote:
> src/p2putil.c: In function 'p2p_get_random_string':
> src/p2putil.c:2641:37: error: initializer element is not constant 2641 |
> static const int set_size = strlen(CHARSET); |
> ^~~~~~
> ---
> src/p2putil.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
I modified the prefix to read: p2putil: (s/main/p2putil)
Applied, thanks.
Regards,
-Denis
next prev parent reply other threads:[~2024-07-12 21:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-12 19:32 [PATCH] main: remove static from const strlen Kasper Kantz
2024-07-12 21:25 ` Denis Kenzior [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-07-12 0:33 dangling .
2024-07-12 16:09 ` Denis Kenzior
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=ed69aafd-d81b-4f8e-9907-383485d21aae@gmail.com \
--to=denkenz@gmail.com \
--cc=iwd@lists.linux.dev \
--cc=kasperkantz@outlook.com \
/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