]> granicus.if.org Git - procps-ng/commit
library: rename clashing pwcache functions
authorCraig Small <csmall@enc.com.au>
Fri, 17 Jun 2016 22:17:45 +0000 (08:17 +1000)
committerCraig Small <csmall@enc.com.au>
Fri, 17 Jun 2016 22:17:45 +0000 (08:17 +1000)
commit5a244c1095d9af7bfd7cc48ef64d651d78f5aaa3
treeaca9c8882768e2804f876e243930dc55a9655281
parent2a7d3f7d707552b86eb92d9489d3a8dffab556fe
library: rename clashing pwcache functions

On MacOS the system already has user_from_uid and group_from_gid.
These are renamed pwcache_get_user and pwcache_get_group.

They were also exported but did not appear in the symbol file
or used by any of the procps binaries. They are no longer exported.

References:
 https://gitlab.com/procps-ng/procps/issues/34

Signed-off-by: Craig Small <csmall@enc.com.au>
proc/pwcache.c
proc/pwcache.h
proc/readproc.c