d3d47de fix implicit declaration warning in coreutils-getgrouplist.patch

Authored and Committed by kdudka 5 years ago
    fix implicit declaration warning in coreutils-getgrouplist.patch
    
    Error: COMPILER_WARNING:
    coreutils-8.30/lib/mgetgroups.c: scope_hint: In function 'mgetgroups'
    coreutils-8.30/lib/mgetgroups.c:167:11: warning: implicit declaration of function 'xrealloc'; did you mean 'realloc'? [-Wimplicit-function-declaration]
         g = xrealloc (g, max_n_groups * sizeof (GETGROUPS_T));
             ^~~~~~~~
    165|       {
    166|         max_n_groups = ng;
    167|->       g = xrealloc (g, max_n_groups * sizeof (GETGROUPS_T));
    168|       }
    169|       if (e == -1)
    
        
file modified
+10 -2
file modified
+4 -1