All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [PATCH v1] dpp: fix implicit declaration of function explicit_bzero warning
@ 2022-01-10 21:44 Denis Kenzior
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2022-01-10 21:44 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 485 bytes --]

Hi Peter,

On 1/10/22 15:32, Peter Seiderer wrote:
> - add missing src/missing.h include for explicit_bzero, fixes uclibc
>    compile/linking
> 
> Fixes:
> 
>    src/dpp.c:166:2: warning: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
>      166 |  explicit_bzero(dpp->r_nonce, dpp->nonce_len);
>          |  ^~~~~~~~~~~~~~
> ---
>   src/dpp.c | 1 +
>   1 file changed, 1 insertion(+)
> 

Applied, thanks.

Regards,
-Denis

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [PATCH v1] dpp: fix implicit declaration of function explicit_bzero warning
@ 2022-01-10 21:32 Peter Seiderer
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Seiderer @ 2022-01-10 21:32 UTC (permalink / raw)
  To: iwd

[-- Attachment #1: Type: text/plain, Size: 636 bytes --]

- add missing src/missing.h include for explicit_bzero, fixes uclibc
  compile/linking

Fixes:

  src/dpp.c:166:2: warning: implicit declaration of function ‘explicit_bzero’ [-Wimplicit-function-declaration]
    166 |  explicit_bzero(dpp->r_nonce, dpp->nonce_len);
        |  ^~~~~~~~~~~~~~
---
 src/dpp.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dpp.c b/src/dpp.c
index 84e89f6c..8091ded1 100644
--- a/src/dpp.c
+++ b/src/dpp.c
@@ -30,6 +30,7 @@
 
 #include "linux/nl80211.h"
 
+#include "src/missing.h"
 #include "src/dbus.h"
 #include "src/netdev.h"
 #include "src/module.h"
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-10 21:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-10 21:44 [PATCH v1] dpp: fix implicit declaration of function explicit_bzero warning Denis Kenzior
  -- strict thread matches above, loose matches on Subject: below --
2022-01-10 21:32 Peter Seiderer

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.