Commit [3a7395]  Maximize  Restore  History

setgid03.c: fix build

This patch fixes build errors introduced with commit

setgid03.c:36:23: error: static declaration of ‘getpwnam’ follows non-static declaration
In file included from setgid03.c:24:0:
/usr/include/pwd.h:117:23: note: previous declaration of ‘getpwnam’ was here
setgid03.c:39:1: error: duplicate ‘static’
setgid03.c:40:1: error: duplicate ‘static’

Signed-off-by: Vinson Lee <>
Signed-off-by: Zhouping Liu <>
Signed-off-by: Jan Stancek <>

Vinson Lee Vinson Lee 2013-09-12

Jan Stancek Jan Stancek 2013-09-13

changed testcases/kernel/syscalls/setgid/setgid03.c
testcases/kernel/syscalls/setgid/setgid03.c Diff Switch to side-by-side view

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks