Re: [PATCH 12/41] libps: Silence a warning

2023-05-09 Thread Samuel Thibault
Jessica Clarke, le mer. 10 mai 2023 01:44:39 +0100, a ecrit: > On 10 May 2023, at 01:26, Samuel Thibault wrote: > > > > Sergey Bugaev, le mar. 09 mai 2023 00:31:07 +0300, a ecrit: > >> GCC was complaining about the mismatch in types between the 'fn' pointer > >> and the function pointers assigned

Re: [PATCH 12/41] libps: Silence a warning

2023-05-09 Thread Jessica Clarke
On 10 May 2023, at 01:26, Samuel Thibault wrote: > > Sergey Bugaev, le mar. 09 mai 2023 00:31:07 +0300, a ecrit: >> GCC was complaining about the mismatch in types between the 'fn' pointer >> and the function pointers assigned to it. Since fn is meant to be used >> with different function types,

Re: [PATCH 12/41] libps: Silence a warning

2023-05-09 Thread Samuel Thibault
Sergey Bugaev, le mar. 09 mai 2023 00:31:07 +0300, a ecrit: > GCC was complaining about the mismatch in types between the 'fn' pointer > and the function pointers assigned to it. Since fn is meant to be used > with different function types, represent it as a 'void *' and not a > pointer to any part

[PATCH 12/41] libps: Silence a warning

2023-05-08 Thread Sergey Bugaev
GCC was complaining about the mismatch in types between the 'fn' pointer and the function pointers assigned to it. Since fn is meant to be used with different function types, represent it as a 'void *' and not a pointer to any particular function type. --- libps/ps.h | 2 +- 1 file changed, 1 inse