[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 1/1] Remove the restrict keyword from dirent.h


  • To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
  • From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
  • Date: Sat, 9 Nov 2019 10:49:01 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=AhasuqGXHY3joifCE+rAQfbeaFZQFhuBoG0XPEWqVeY=; b=l1I9obQB+k4zg5TqhDJhprP0H1YMd6nQaroyH1mqqAPTAToBSdfbU2GfWzX5kAcLTLdpUmBS4iw9zgf9AcwjyIvQWq5kuCZgr9209FZdK/D1/ifNSsVJtr4+LwNyFr9azsNm1aHlY+Tj71IpkKwxle5dod6sfC1bPyJ6V75yhb2Luu3Lo7KbziLi8qhn99kLas1SpT26kLGOecTFHcZjSVFVgcll0Ksye5mrZIndr4mN/+eC2WUzFHzoi3huIjqOPyx1OI2mLVPD5mDhd+nE8CNRGV7bx6Xy6h8nw/GZCOrYthciBSnjH4FvyHDeF2mK/8+1/TBKCffWbWynHW5sbA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FMdEgJ5UyJZWeZ9nlhvTOSpI5yGMzVcsEa3D75xFB/1xmDcSLbs9UM4sMHDrhew2xNCFY1MC11z+lTuYm2v2kC6SOm7QgHwaeKybxWVOqNH+neLvUPrZZKYWJqhdJRBBCVRjMicTV8oTUUfKLqpTF0gF+ol7ib1gFknWOeuzz2OyI06rYqeLj7RQbd5i//HeCM4XlZI3SCOHvoldIjWmD+9SVZUm63mUr5RkecQ01fFYw+N8v4DvT/FCFSJaklXZucNyMv2rNk7Qy73c7LbTHBkGoR+x4l/6RH0RHnjxMLr+ecCS0KbrG4gf162PJdmPzf2NkS6gvSACASawmn/4Eg==
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
  • Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>
  • Delivery-date: Sat, 09 Nov 2019 10:52:36 +0000
  • List-id: Mini-os development list <minios-devel.lists.xenproject.org>
  • Thread-index: AQHVljAx/2EEUW3EPkCeSQROevYL1KeCqjSA
  • Thread-topic: [UNIKRAFT/NEWLIB PATCH 1/1] Remove the restrict keyword from dirent.h

Hey Felipe,

Please omit this patch.

Thanks,

Vlad

On 08.11.2019 14:29, Vlad-Andrei BĂDOIU (78692) wrote:
> We remove the restrict macro from dirent.h since it is not
> available on newlib.
>
> Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
> ---
>   include/dirent.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/include/dirent.h b/include/dirent.h
> index 8532930..ba19ea7 100644
> --- a/include/dirent.h
> +++ b/include/dirent.h
> @@ -66,8 +66,8 @@ int closedir(DIR *dirp);
>   DIR *fdopendir(int fd);
>   DIR *opendir(const char *name);
>   struct dirent *readdir(DIR *dirp);
> -int readdir_r(DIR *restrict dirp, struct dirent *restrict entry,
> -             struct dirent **restrict result);
> +int readdir_r(DIR *dirp, struct dirent *entry,
> +             struct dirent **result);
>   void rewinddir(DIR *dirp);
>   int dirfd(DIR *dirp);
>   

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.