procps/proc/pwcache.h
Jim Warner bae272fe22 library: eliminate inappropriate '__BEGIN_DECLS' macro
This patch simply eliminates that glibc specific macro
from all header files which contain no public callable
functions. After all, if user code can't link to them,
then protection from C++ name mangling is unnecessary.

[ we also remove any related '#include <features.h>' ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
2018-05-06 07:19:38 +10:00

13 lines
255 B
C

#ifndef PROCPS_PROC_PWCACHE_H
#define PROCPS_PROC_PWCACHE_H
#include <sys/types.h>
// used in pwcache and in readproc to set size of username or groupname
#define P_G_SZ 33
char *pwcache_get_user(uid_t uid);
char *pwcache_get_group(gid_t gid);
#endif