From f5e48e94a2f4d4bbd6e5628c7f2afafc6dbcc459 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 7 Mar 2024 17:28:52 -0500 Subject: build: Build mlibc + add distclean target Signed-off-by: Ian Moffett --- lib/mlibc/options/posix/include/pwd.h | 45 ----------------------------------- 1 file changed, 45 deletions(-) delete mode 100644 lib/mlibc/options/posix/include/pwd.h (limited to 'lib/mlibc/options/posix/include/pwd.h') diff --git a/lib/mlibc/options/posix/include/pwd.h b/lib/mlibc/options/posix/include/pwd.h deleted file mode 100644 index b885f57..0000000 --- a/lib/mlibc/options/posix/include/pwd.h +++ /dev/null @@ -1,45 +0,0 @@ - -#ifndef _PWD_H -#define _PWD_H - -#include -#include -#include -#include - -#ifdef __cplusplus -extern "C" { -#endif - -struct passwd { - char *pw_name; - char *pw_passwd; - uid_t pw_uid; - gid_t pw_gid; - char *pw_gecos; - char *pw_dir; - char *pw_shell; -}; - -#define NSS_BUFLEN_PASSWD 512 - -#ifndef __MLIBC_ABI_ONLY - -void endpwent(void); -struct passwd *getpwent(void); -struct passwd *getpwnam(const char *); -int getpwnam_r(const char *, struct passwd *, char *, size_t, struct passwd **); -struct passwd *getpwuid(uid_t); -int getpwuid_r(uid_t, struct passwd *, char *, size_t, struct passwd **); -void setpwent(void); -int putpwent(const struct passwd *, FILE *); -struct passwd *fgetpwent(FILE *); - -#endif /* !__MLIBC_ABI_ONLY */ - -#ifdef __cplusplus -} -#endif - -#endif // _PWD_H - -- cgit v1.2.3