aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2014-03-23 21:27:25 +0000
committerRon Yorston <rmy@pobox.com>2014-03-23 21:27:25 +0000
commita89d412ced2d9498260dae34fa8aa9e28fa56ca8 (patch)
tree657773b0339eab2ffbba00ba8e1300d4a881d919 /include
parent439b40bd12f55cfb2f28d3f52831041d21b4393e (diff)
downloadbusybox-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.h3
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
77IMPL(getpwnam,struct passwd *,NULL,const char *name UNUSED_PARAM); 77IMPL(getpwnam,struct passwd *,NULL,const char *name UNUSED_PARAM);
78struct passwd *getpwuid(int uid); 78struct passwd *getpwuid(int uid);
79static inline void setpwent(void) {}
80static inline void endpwent(void) {}
81IMPL(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