aboutsummaryrefslogtreecommitdiffstats
path: root/main/musl/0071-fix-use-of-memset-without-declaration-in-sched.h-cpu.patch
blob: 2701b282d3fc7da756f6e13881e955231330bb13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
From 48be5b6313d7b827acf555769e93b389fa9f6307 Mon Sep 17 00:00:00 2001
From: Rich Felker <dalias@aerifal.cx>
Date: Thu, 28 Sep 2017 12:57:06 -0400
Subject: [PATCH 29/30] fix use of memset without declaration in sched.h cpu
 set macros
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

patch by Jörg Krause.
---
 include/sched.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sched.h b/include/sched.h
index d1cccb70..05d40b1e 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -72,6 +72,7 @@ int setns(int, int);
 
 void *memcpy(void *__restrict, const void *__restrict, size_t);
 int memcmp(const void *, const void *, size_t);
+void *memset (void *, int, size_t);
 void *calloc(size_t, size_t);
 void free(void *);
 
-- 
2.13.3