From a862c09fee645ed908743f4002ad024ffe23af73 Mon Sep 17 00:00:00 2001 From: Fons Rademakers <Fons.Rademakers@cern.ch> Date: Wed, 13 Sep 2000 10:38:15 +0000 Subject: [PATCH] correction in prototype of initgroups. git-svn-id: http://root.cern.ch/svn/root/trunk@644 27541ba8-7e3a-0410-8455-c3a389f83636 --- proofd/src/proofd.cxx | 6 +++--- rootd/src/rootd.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/proofd/src/proofd.cxx b/proofd/src/proofd.cxx index 10ca21655b8..da2723d20b8 100644 --- a/proofd/src/proofd.cxx +++ b/proofd/src/proofd.cxx @@ -1,4 +1,4 @@ -// @(#)root/proofd:$Name: $:$Id: proofd.cxx,v 1.5 2000/06/16 15:23:01 rdm Exp $ +// @(#)root/proofd:$Name: $:$Id: proofd.cxx,v 1.6 2000/09/13 07:03:01 brun Exp $ // Author: Fons Rademakers 02/02/97 /************************************************************************* @@ -53,7 +53,7 @@ extern "C" char *crypt(const char *, const char *); #endif #if defined(__alpha) && !defined(__linux) && !defined(__FreeBSD__) -extern "C" int initgroups(char *name, int basegid); +extern "C" int initgroups(const char *name, int basegid); #endif #if defined(__sgi) && !defined(__GNUG__) && (!defined(SGI_REL) || (SGI_REL<62)) @@ -65,7 +65,7 @@ extern "C" { #if defined(_AIX) extern "C" { - int initgroups(char *name, int basegid); + int initgroups(const char *name, int basegid); int seteuid(uid_t euid); int setegid(gid_t egid); } diff --git a/rootd/src/rootd.cxx b/rootd/src/rootd.cxx index c077d436091..725f5453f06 100644 --- a/rootd/src/rootd.cxx +++ b/rootd/src/rootd.cxx @@ -1,4 +1,4 @@ -// @(#)root/rootd:$Name: $:$Id: rootd.cxx,v 1.5 2000/07/24 18:21:50 rdm Exp $ +// @(#)root/rootd:$Name: $:$Id: rootd.cxx,v 1.6 2000/09/13 07:03:01 brun Exp $ // Author: Fons Rademakers 11/08/97 /************************************************************************* @@ -144,7 +144,7 @@ extern "C" char *crypt(const char *, const char *); #endif #if defined(__alpha) && !defined(__linux) && !defined(__FreeBSD__) -extern "C" int initgroups(char *name, int basegid); +extern "C" int initgroups(const char *name, int basegid); #endif #if defined(__sgi) && !defined(__GNUG__) && (SGI_REL<62) @@ -156,7 +156,7 @@ extern "C" { #if defined(_AIX) extern "C" { - int initgroups(char *name, int basegid); + int initgroups(const char *name, int basegid); int seteuid(uid_t euid); int setegid(gid_t egid); } -- GitLab