--- mstools/posix/h/pwd.h 2018/08/09 18:22:18 1.1.1.1 +++ mstools/posix/h/pwd.h 2018/08/09 18:24:37 1.1.1.2 @@ -11,10 +11,6 @@ Abstract: Defines data types and declares routines necessary for user database access, as required by 1003.1-88 (9.2.2). -Author: - - Matthew Bradburn 28-Jan-1992 - --*/ #ifndef _PWD_ @@ -22,6 +18,10 @@ Author: #include +#ifdef __cplusplus +extern "C" { +#endif + struct passwd { char *pw_name; /* users login name */ uid_t pw_uid; /* user id number */ @@ -33,4 +33,8 @@ struct passwd { struct passwd * _CRTAPI1 getpwuid(uid_t); struct passwd * _CRTAPI1 getpwnam(const char *); +#ifdef __cplusplus +} +#endif + #endif /* _PWD_ */