Fixed implicit declaration of function 'time' in src/sss_client/common.c
On Mon, Aug 08, 2011 at 07:39:04AM -0400, Pavel Brezina wrote:
Fixed implicit declaration of function 'time' in src/sss_client/common.c
Although I haven't seen the warning about implicit declartion myself, I know Pavel managed to trigger it.
Also the patch is correct - we use time(3) so we should include time.h explicitly and not rely on some other header fetching it.
Ack
On Mon, 2011-08-08 at 14:20 +0200, Jakub Hrozek wrote:
On Mon, Aug 08, 2011 at 07:39:04AM -0400, Pavel Brezina wrote:
Fixed implicit declaration of function 'time' in src/sss_client/common.c
Although I haven't seen the warning about implicit declartion myself, I know Pavel managed to trigger it.
Also the patch is correct - we use time(3) so we should include time.h explicitly and not rely on some other header fetching it.
Ack
Pushed to master.
I think it would be a good thing to push this patch to sssd-1-5 and sssd-1-6 as well.
https://fedorahosted.org/pipermail/sssd-devel/2011-August/006725.html
sssd-devel@lists.fedorahosted.org