int getnetgrent_r __P((char **, char **, char **, char *, int));
-void setnetgrent __P((const char *));
-
void endnetgrent __P((void));
+#ifdef __osf__
+int innetgr __P((char *, char *, char *, char *));
+void setnetgrent __P((char *));
+#else
+void setnetgrent __P((const char *));
int innetgr __P((const char *, const char *, const char *, const char *));
#endif
#endif
+#endif
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static const char rcsid[] = "$Id: getnetgrent_r.c,v 1.5.2.2 2004/03/09 09:17:30 marka Exp $";
+static const char rcsid[] = "$Id: getnetgrent_r.c,v 1.5.2.3 2004/04/13 04:49:01 marka Exp $";
#endif /* LIBC_SCCS and not lint */
#include <port_before.h>
setnetgrent_r(const char *netgroup)
#endif
{
- setnetgrent(netgroup);
+ char *tmp;
+ DE_CONST(netgroup, tmp);
+ setnetgrent(tmp);
#ifdef NGR_R_PRIVATE
*buf = NULL;
#endif