* lib-src/ntlib.h: Update prototype.
+2011-01-28 Chong Yidong <cyd@stupidchicken.com>
+
+ * ntlib.c (setregid): New stub, renamed from setegid.
+
+ * ntlib.h: Update prototype.
+
2011-01-23 Chong Yidong <cyd@stupidchicken.com>
* movemail.c (main): Use setregid instead of setegid, which is
}
int
-setegid (unsigned gid)
+setregid (unsigned rgid, unsigned gid)
{
return 0;
}
unsigned getegid ();
unsigned getgid ();
int setuid (unsigned uid);
-int setegid (unsigned gid);
+int setregid (unsigned rgid, unsigned gid);
char * getpass (const char * prompt);
int fchown (int fd, unsigned uid, unsigned gid);