diff mbox series

[v3,01/11] main: Include string.h for memset

Message ID 20180524055017.8801-2-amitay@ozlabs.org
State Accepted
Headers show
Series Some more cleanups | expand

Commit Message

Amitay Isaacs May 24, 2018, 5:50 a.m. UTC
Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
---
 src/thread.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Alistair Popple May 24, 2018, 7:23 a.m. UTC | #1
My latest patch to abstract thread status just removed the memset so we can drop
this one :-)

- Alistair

On Thursday, 24 May 2018 3:50:07 PM AEST Amitay Isaacs wrote:
> Signed-off-by: Amitay Isaacs <amitay@ozlabs.org>
> ---
>  src/thread.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/src/thread.c b/src/thread.c
> index 0e4627f..f32a437 100644
> --- a/src/thread.c
> +++ b/src/thread.c
> @@ -17,6 +17,7 @@
>  #include <inttypes.h>
>  #include <stdio.h>
>  #include <stdlib.h>
> +#include <string.h>
>  
>  #include <bitutils.h>
>  
>
diff mbox series

Patch

diff --git a/src/thread.c b/src/thread.c
index 0e4627f..f32a437 100644
--- a/src/thread.c
+++ b/src/thread.c
@@ -17,6 +17,7 @@ 
 #include <inttypes.h>
 #include <stdio.h>
 #include <stdlib.h>
+#include <string.h>
 
 #include <bitutils.h>