From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11967 Path: news.gmane.org!.POSTED!not-for-mail From: =?ISO-8859-1?Q?J=F6rg?= Krause Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix missing forward declaration of memset in sched.h Date: Mon, 02 Oct 2017 18:41:03 +0200 Organization: Embedded Rocks Message-ID: <1506962463.7328.2.camel@embedded.rocks> References: <20170908093942.21490-1-joerg.krause@embedded.rocks> <1506602691.16791.1.camel@embedded.rocks> <20170928165624.GB1627@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1506962480 30287 195.159.176.226 (2 Oct 2017 16:41:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 2 Oct 2017 16:41:20 +0000 (UTC) Cc: Rich Felker To: musl@lists.openwall.com Original-X-From: musl-return-11980-gllmg-musl=m.gmane.org@lists.openwall.com Mon Oct 02 18:41:16 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dz3mM-0007Bq-39 for gllmg-musl@m.gmane.org; Mon, 02 Oct 2017 18:41:14 +0200 Original-Received: (qmail 21890 invoked by uid 550); 2 Oct 2017 16:41:19 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 21869 invoked from network); 2 Oct 2017 16:41:18 -0000 In-Reply-To: <20170928165624.GB1627@brightrain.aerifal.cx> X-Mailer: Evolution 3.24.5 Xref: news.gmane.org gmane.linux.lib.musl.general:11967 Archived-At: On Thu, 2017-09-28 at 12:56 -0400, Rich Felker wrote: > On Thu, Sep 28, 2017 at 02:44:51PM +0200, Jörg Krause wrote: > > Hi, > > > > On Fri, 2017-09-08 at 11:39 +0200, Jörg Krause wrote: > > > Fixes build issue when using the macro `CPU_EQUAL()`, e.g. in Boost [1]: > > > > > > ``` > > > libs/fiber/src/numa/linux/pin_thread.cpp:31:5: error: 'memset' was not declared in this scope > > > CPU_ZERO( & set); > > > ^ > > > ``` > > > > > > [1] https://github.com/boostorg/fiber/pull/142 > > > > > > Reported-by: Oliver Kowalke > > > Signed-off-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 *); > > > > > > > Any feedback on this? > > It looks fine. Thanks and sorry for not replying sooner. No problem! Will it be merged? Jörg