[Mesa-dev] [PATCH 1/3] gbm: remove define _BSD_SOURCE

Emil Velikov emil.l.velikov at gmail.com
Sat May 14 16:16:04 UTC 2016


On 1 May 2016 at 13:48, Emil Velikov <emil.l.velikov at gmail.com> wrote:
> The build systems already add this as applicable. There's no need to
> have this in the source file.
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> ---
>  src/gbm/main/gbm.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/src/gbm/main/gbm.c b/src/gbm/main/gbm.c
> index c046b1a..a8da082 100644
> --- a/src/gbm/main/gbm.c
> +++ b/src/gbm/main/gbm.c
> @@ -25,7 +25,6 @@
>   *    Benjamin Franzke <benjaminfranzke at googlemail.com>
>   */
>
> -#define _BSD_SOURCE
>  #define _DEFAULT_SOURCE
>
Do we have a brave soul to ack/r-b this and the other two "kill the
manual  _{BSD,DEFAUL}_SOURCE defines" ?

Thanks
Emil


More information about the mesa-dev mailing list