fix use of memset without declaration in sched.h cpu set macros
authorRich Felker <dalias@aerifal.cx>
Thu, 28 Sep 2017 16:57:06 +0000 (12:57 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 28 Sep 2017 16:57:06 +0000 (12:57 -0400)
patch by Jörg Krause.

include/sched.h

index d1cccb7059da35c60d7db33ed5a834402b18a114..05d40b1e7c7444c2b78fe210ae1e4153de05c5e5 100644 (file)
@@ -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 *);