Hi,
This patch fixes the following compilation warning seen on PPC64.
getsid02.c: In function setup:
getsid02.c:152: warning: unused variable fp
Signed-off-by: CAI Qian <[EMAIL PROTECTED]>
--- ./testcases/kernel/syscalls/getsid/getsid02.c.orig 2008-10-22
04:46:52.000000000 -0400
+++ ./testcases/kernel/syscalls/getsid/getsid02.c 2008-10-22
04:47:05.000000000 -0400
@@ -149,8 +149,9 @@
void
setup(void)
{
-FILE *fp;
-
+#if !defined PID_MAX_DEFAULT && !defined PID_MAX
+ FILE *fp;
+#endif
#ifdef PID_MAX_DEFAULT
pid_max = PID_MAX_DEFAULT;
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list