From 10695d3d3472bb5ad7b9f5d9313f073fc67a8f1a Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Mon, 18 May 2015 13:17:02 +0100 Subject: mingw: implement getpwnam (but only for current user) This allows the shell to expand ~user. --- include/mingw.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/mingw.h') diff --git a/include/mingw.h b/include/mingw.h index 86259f2d1..f3b260f5a 100644 --- a/include/mingw.h +++ b/include/mingw.h @@ -82,7 +82,7 @@ struct passwd { gid_t pw_gid; }; -IMPL(getpwnam,struct passwd *,NULL,const char *name UNUSED_PARAM); +struct passwd *getpwnam(const char *name); struct passwd *getpwuid(uid_t uid); static inline void setpwent(void) {} static inline void endpwent(void) {} -- cgit v1.2.3-55-g6feb