Hi! > commit 7dc42c97 did some clean up, but brought some typos: > 1. getpwnam() is defined in /usr/include/pwd.h, > it doesn't need 'static', or remove getpwnam() declaration. > 2. added duplicated 'static' key word. > > Signed-off-by: Zhouping Liu <[email protected]> > --- > testcases/kernel/syscalls/setgid/setgid03.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/testcases/kernel/syscalls/setgid/setgid03.c > b/testcases/kernel/syscalls/setgid/setgid03.c > index 8b71401..8c76556 100644 > --- a/testcases/kernel/syscalls/setgid/setgid03.c > +++ b/testcases/kernel/syscalls/setgid/setgid03.c > @@ -33,11 +33,11 @@ int TST_TOTAL = 1; > > static char ltpuser1[] = "nobody"; > static char root[] = "root"; > -static struct passwd *getpwnam(), *ltpuser1pwent, *rootpwent; > +static struct passwd *ltpuser1pwent, *rootpwent; > static gid_t mygid; > > -static static void setup(void); > -static static void cleanup(void); > +static void setup(void); > +static void cleanup(void); > > int main(int ac, char **av) > {
Missed that, thanks. -- Cyril Hrubis [email protected] ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
