{get,set}hostid moves in from sys
[unix-history] / usr / src / lib / libc / compat-43 / setrgid.c
index a837623..95748cc 100644 (file)
@@ -6,11 +6,18 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)setrgid.c  5.4 (Berkeley) %G%";
+static char sccsid[] = "@(#)setrgid.c  5.5 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #endif /* LIBC_SCCS and not lint */
 
+#include <unistd.h>
+
+int
+#ifdef __STDC__
+setrgid(gid_t rgid)
+#else
 setrgid(rgid)
        int rgid;
 setrgid(rgid)
        int rgid;
+#endif
 {
 
        return (setregid(rgid, -1));
 {
 
        return (setregid(rgid, -1));