From 98cbe360d947b59e7a5eda068581f4cfeb4b99b3 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 21 Aug 2000 06:49:52 +0000 Subject: Update. * misc/sys/cdefs.h: Define __restrict_arr. * include/sys/time.h: Add restrict where required by AGd4. * inet/arpa/inet.h: Likewise. * io/sys/stat.h: Likewise. * io/sys/statvfs.h: Likewise. * misc/search.h: Likewise. * misc/sys/select.h: Likewise. * posix/glob.h: Likewise. * posix/regex.h: Likewise. * posix/spawn.h: Likewise. * posix/unistd.h: Likewise. * rt/aio.h: Likewise. * signal/signal.h: Likewise. * socket/sys/socket.h: Likewise. * stdlib/ucontext.h: Likewise. * streams/stropts.h: Likewise. * string/string.h: Likewise. * time/time.h: Likewise. * time/sys/time.h: Likewise. * posix/spawn.h: Add declarations for posix_spawnattr_getscheparam and posix_spawnattr_setscheparam. * libio/stdio.h: Make cuserid prototype again available for all XPG versions. --- misc/sys/cdefs.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'misc/sys/cdefs.h') diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h index 9960239..a4535e3 100644 --- a/misc/sys/cdefs.h +++ b/misc/sys/cdefs.h @@ -163,4 +163,10 @@ # define __restrict /* Ignore */ #endif +/* ISO C99 also allows to declare arrays as non-overlapping. The syntax is + array_name[restrict] + But gcc so far does not support this syntax. We define a separate macro + for this which can be enabled if the underlying compiler supports it. */ +#define __restrict_arr + #endif /* sys/cdefs.h */ -- cgit v1.1