[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[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: Fri, 8 Nov 2019 12:29:41 +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=SIsJ8d4x5laMgs/E4fIoQiHNALKvrQsT78tqSLnzYwM=; b=a9KHjsFDn0RhQwAVBwEFRzdAbdloYR+AhnOHminNFUEbsw7Co9KParYyAAxQVK1GsguXo8ARlkUxohx51IetEzK1dzzQWEPRhufQY2AEjKcHoTCZAQlfqWOOh2FMi8Xk2wjul5ukyp1gSLE2MWHl78nWC9XQFGRhJDdqbUDbsRak6s0Qy08KUF3tR3LQZEOKfd6gp9r4PwN5ZeUa7pgUzQ0okXpBxvCRd/3+5bwA2y7jTuu00cXiauk1wUSMn9PWONQIKN2vrt5hyw2sxKy50pak5JzybxZtMPS8a3Zb+MhRUdA1xhbeXpJqjHHTqnKxYvuzvHSnNhjNnXiZhx070A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hqs/3W4vV9xXhFNdd5dE+DTjltxV2PqVwvMuTKe/72GAWQDJ3A4C/PJzfWIIM7i08NXiJvBcQdChC5Z0R/yBWeidNYF02KLMKnzvoYTbBGNX33bocsXY9oFzK2Axb0En3C03c49zpwmUO4G+H69JOY9Bz9rDsB3CrsQvnDQhLzuVGH/993bgfOEkCF3IYToUgpLdVY0iawRxxvHHh8UyGJ0yt3RCE8Xo7E5iuEhi0y+YImY16S+Jy+WUMsaXkJJj/7F2AYb1XQstGsq+0+a5hXDNL1gvzxO8izjpi8G2CSwUXM6KTSqPZ9Cw/53bslHGKyXGXcoxj8RNyiP7EYd09g==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
- Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
- Delivery-date: Fri, 08 Nov 2019 12:29:49 +0000
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
- Thread-index: AQHVljAx/2EEUW3EPkCeSQROevYL1A==
- Thread-topic: [UNIKRAFT/NEWLIB PATCH 1/1] Remove the restrict keyword from dirent.h
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);
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|