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:
@@ -6,8 +6,8 @@
|
||||
EXTERN_C_BEGIN
|
||||
|
||||
extern const char * lookup_wchan(unsigned KLONG address, unsigned pid);
|
||||
extern int open_psdb(const char *restrict override);
|
||||
extern int open_psdb_message(const char *restrict override, message_fn message);
|
||||
extern int open_psdb(const char *__restrict override);
|
||||
extern int open_psdb_message(const char *__restrict override, message_fn message);
|
||||
|
||||
EXTERN_C_END
|
||||
|
||||
|
Reference in New Issue
Block a user