Change restrict to __restrict in public includes

procps automake defines restrict which means the binaries for procps
binaries compile. However external programs may not of defined
restrict which means they will not complie if they include files found
in /usr/include/proc.

Includes from libc6 use __restrict and if is good enough for
them, its good enough for us.
This commit is contained in:
Craig Small
2012-01-09 21:44:51 +11:00
parent 1928653399
commit a909f6e917
7 changed files with 27 additions and 27 deletions

View File

@ -103,6 +103,6 @@
#endif
typedef void (*message_fn)(const char *restrict, ...) __attribute__((format(printf,1,2)));
typedef void (*message_fn)(const char *__restrict, ...) __attribute__((format(printf,1,2)));
#endif