diff options
author | Ron Yorston <rmy@pobox.com> | 2014-03-23 21:27:25 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-03-23 21:27:25 +0000 |
commit | a89d412ced2d9498260dae34fa8aa9e28fa56ca8 (patch) | |
tree | 657773b0339eab2ffbba00ba8e1300d4a881d919 /include | |
parent | 439b40bd12f55cfb2f28d3f52831041d21b4393e (diff) | |
download | busybox-w32-a89d412ced2d9498260dae34fa8aa9e28fa56ca8.tar.gz busybox-w32-a89d412ced2d9498260dae34fa8aa9e28fa56ca8.tar.bz2 busybox-w32-a89d412ced2d9498260dae34fa8aa9e28fa56ca8.zip |
Provide fake getpwent_r to reduce changes from upstream
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index b1a28b473..bcf61dbac 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -76,6 +76,9 @@ struct passwd { | |||
76 | 76 | ||
77 | IMPL(getpwnam,struct passwd *,NULL,const char *name UNUSED_PARAM); | 77 | IMPL(getpwnam,struct passwd *,NULL,const char *name UNUSED_PARAM); |
78 | struct passwd *getpwuid(int uid); | 78 | struct passwd *getpwuid(int uid); |
79 | static inline void setpwent(void) {} | ||
80 | static inline void endpwent(void) {} | ||
81 | IMPL(getpwent_r,int,ENOENT,struct passwd *pwbuf UNUSED_PARAM,char *buf UNUSED_PARAM,size_t buflen UNUSED_PARAM,struct passwd **pwbufp UNUSED_PARAM); | ||
79 | 82 | ||
80 | /* | 83 | /* |
81 | * signal.h | 84 | * signal.h |