On (09/11/15 10:30), Jakub Hrozek wrote:
Hi,
please see the attached trivial patch.
From a27bf8f594bbbba372a4c324b00b7931306b774c Mon Sep 17 00:00:00
2001
From: Jakub Hrozek <jhrozek(a)redhat.com>
Date: Mon, 9 Nov 2015 10:27:41 +0100
Subject: [PATCH] tools: Don't shadow 'exit'
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes:
/sssd/src/tools/sss_override.c: In function ‘override_user_import’:
/sssd/src/tools/sss_override.c:1471: warning: declaration of ‘exit’ shadows a global
declaration
/usr/include/stdlib.h:544: warning: shadowed declaration is here
/sssd/src/tools/sss_override.c: In function ‘override_group_import’:
/sssd/src/tools/sss_override.c:1737: warning: declaration of ‘exit’ shadows a global
declaration
/usr/include/stdlib.h:544: warning: shadowed declaration is here
I found few
others similar warnings.
Do we want to fix them or ignore?
I can see then only on centos 6 which has old gcc.
See few patches. I might squash them
LS