39e3003 Fix warning declaration of 'index' shadows a global declaration

Authored and Committed by lslebodn 6 years ago
    Fix warning declaration of 'index' shadows a global declaration
    
    src/responder/common/cache_req/cache_req.c: In function 'cache_req_add_result':
    src/responder/common/cache_req/cache_req.c:587: error: declaration of 'index' shadows a global declaration
    /usr/include/string.h:489: error: shadowed declaration is here
    
    src/responder/nss/nss_cmd.c:387: error: declaration of 'index' shadows a global declaration
    /usr/include/string.h:489: error: shadowed declaration is here
    src/responder/nss/nss_cmd.c: In function 'nss_getent_get_result':
    src/responder/nss/nss_cmd.c:433: error: declaration of 'index' shadows a global declaration
    /usr/include/string.h:489: error: shadowed declaration is here
    src/responder/nss/nss_cmd.c: In function 'nss_endent':
    src/responder/nss/nss_cmd.c:671: error: declaration of 'index' shadows a global declaration
    /usr/include/string.h:489: error: shadowed declaration is here
    
    src/responder/nss/nss_protocol_netgr.c: In function 'nss_protocol_fill_netgrent':
    src/responder/nss/nss_protocol_netgr.c:113: error: declaration of 'index' shadows a global declaration
    /usr/include/string.h:489: error: shadowed declaration is here
    
    Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>
    
        
file modified
+11 -11