]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
Change the restrict keyword to __restrict__
authorVlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@stud.acs.upb.ro>
Tue, 12 Nov 2019 10:12:41 +0000 (10:12 +0000)
committerFelipe Huici <felipe.huici@neclab.eu>
Tue, 19 Nov 2019 12:05:25 +0000 (13:05 +0100)
commitbb60ccb335df44fb65d7f74e75127db438b80389
tree4fba046d5168cf50b716ef86a39ca58693d996fe
parent5e08cc1a30ffbc731ad67eeccb7ca3b60ba1f9f3
Change the restrict keyword to __restrict__

The restrict keyword doesn't exist in C++. Including headers that use
this keyword causes compilation errors. We replace the keyword with
the __restrict__ extension from GCC.

Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@stud.acs.upb.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
include/dirent.h
include/sys/statvfs.h