This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] hurd: Avoid exposing all <sched.h> symbols
- From: Florian Weimer <fweimer at redhat dot com>
- To: Samuel Thibault <samuel dot thibault at ens-lyon dot org>, libc-alpha at sourceware dot org
- Date: Thu, 19 Apr 2018 10:00:14 +0200
- Subject: Re: [PATCH] hurd: Avoid exposing all <sched.h> symbols
- References: <20180418224651.25404-1-samuel.thibault@ens-lyon.org>
On 04/19/2018 12:46 AM, Samuel Thibault wrote:
/* Data structure to describe a process' schedulability. */
-struct sched_param
-{
- int sched_priority;
-};
+#include <bits/types/struct_sched_param.h>
Maybe remove the comment as well?
Looks okay otherwise.
Thanks,
Florian