[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f6c20b9b-4984-f865-3698-70b61bcd4be0@linuxfoundation.org>
Date: Tue, 24 Sep 2019 14:05:19 -0600
From: Shuah Khan <skhan@...uxfoundation.org>
To: Alexey Dobriyan <adobriyan@...il.com>
Cc: shuah@...nel.org, akpm@...ux-foundation.org,
sabyasachi.linux@...il.com, jrdr.linux@...il.com,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-kselftest@...r.kernel.org,
"skh >> Shuah Khan" <skhan@...uxfoundation.org>
Subject: Re: [PATCH] selftests: proc: Fix _GNU_SOURCE redefined build warns
On 9/24/19 1:52 PM, Alexey Dobriyan wrote:
> On Tue, Sep 24, 2019 at 12:19:10PM -0600, Shuah Khan wrote:
>> Fix the following _GNU_SOURCE redefined build warns:
>>
>> proc-loadavg-001.c:17: warning: "_GNU_SOURCE" redefined
>> proc-self-syscall.c:16: warning: "_GNU_SOURCE" redefined
>> proc-uptime-002.c:18: warning: "_GNU_SOURCE" redefined
>
>> +#ifndef _GNU_SOURCE
>> #define _GNU_SOURCE
>> +#endif
>
> Why are you doing this.
>
> There are 140 redefinitions of _GNU_SOURCE
>
Is there something wrong with getting rid of this warning?
thanks,
-- Shuah
Powered by blists - more mailing lists