--- mstools/posix/h/grp.h 2018/08/09 18:22:18 1.1.1.1 +++ mstools/posix/h/grp.h 2018/08/09 18:24:35 1.1.1.2 @@ -11,10 +11,6 @@ Abstract: Defines data types and declares routines necessary for group database access, as required by 1003.1-88 (9.2.1). -Author: - - Matthew Bradburn 28-Jan-1992 - --*/ #ifndef _GRP_ @@ -22,6 +18,10 @@ Author: #include +#ifdef __cplusplus +extern "C" { +#endif + struct group { char *gr_name; /* the name of the group */ gid_t gr_gid; /* the numerical group ID */ @@ -32,4 +32,8 @@ struct group { struct group * _CRTAPI1 getgrgid(gid_t); struct group * _CRTAPI1 getgrnam(const char *); +#ifdef __cplusplus +} +#endif + #endif /* _GRP_ */