From de85d7be56528bad31359d7e3e3864a610c32c3c Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Mon, 18 Aug 2003 07:30:16 +0000 Subject: 2003-08-18 Ralf Corsepius PR 449/rtems: * src/getegid.c: Remove (Moved to ../libcsupport/src). * src/geteuid.c: Remove (Moved to ../libcsupport/src). * src/getgid.c: Remove (Moved to ../libcsupport/src). * src/getgroups.c: Remove (Moved to ../libcsupport/src). * src/getlogin.c: Remove (Moved to ../libcsupport/src). * src/getpgrp.c: Remove (Moved to ../libcsupport/src). * src/getpid.c: Remove (Moved to ../libcsupport/src). * src/getppid.c: Remove (Moved to ../libcsupport/src). * src/getuid.c: Remove (Moved to ../libcsupport/src). * src/setpgid.c: Remove (Moved to ../libcsupport/src). * src/setsid.c: Remove (Moved to ../libcsupport/src). * Makefile.am: Reflect changes above --- cpukit/posix/src/getgid.c | 47 ----------------------------------------------- 1 file changed, 47 deletions(-) delete mode 100644 cpukit/posix/src/getgid.c (limited to 'cpukit/posix/src/getgid.c') diff --git a/cpukit/posix/src/getgid.c b/cpukit/posix/src/getgid.c deleted file mode 100644 index f104a6a039..0000000000 --- a/cpukit/posix/src/getgid.c +++ /dev/null @@ -1,47 +0,0 @@ -/* - * $Id$ - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include -#include -#include - -#include -#include -#include - -#include - -/* - * MACRO in userenv.h - * -gid_t _POSIX_types_Gid = 0; -*/ - -/*PAGE - * - * 4.2.1 Get Real User, Effective User, Ral Group, and Effective Group IDs, - * P1003.1b-1993, p. 84 - */ - -gid_t getgid( void ) -{ - return _POSIX_types_Gid; -} - -/*PAGE - * - * 4.2.2 Set User and Group IDs, P1003.1b-1993, p. 84 - */ - -int setgid( - gid_t gid -) -{ - _POSIX_types_Gid = gid; - return 0; -} -- cgit v1.2.3