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:
@ -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
|
||||
|
Reference in New Issue
Block a user