public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* Re: [LTP] [PATCH] safe_macros.h: fix warning
       [not found] <e9647cdbda675e315776948ed7731ceb68757dd7.1321364606.git.caspar@casparzhang.com>
@ 2011-11-16  1:58 ` Wanlong Gao
  2011-11-16 14:06 ` Cyril Hrubis
  1 sibling, 0 replies; 2+ messages in thread
From: Wanlong Gao @ 2011-11-16  1:58 UTC (permalink / raw)
  To: ltp-list

On 11/15/2011 09:43 PM, Caspar Zhang wrote:

> 
> The following warning is given when compiling testcases with
> safe_macros.h included:
> 
> .../safe_macros.h:62: warning: ‘struct rusage’ declared inside parameter list
> .../safe_macros.h:62: warning: its scope is only this definition or declaration, which is probably not what you want
> 
> This patch does a quick fix to get rid of the warning.


Sure.

> 
> Signed-off-by: Caspar Zhang <caspar@casparzhang.com>

Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>

> ---
>  include/safe_macros.h |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> 
> 
> 
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> 
> 
> 
> _______________________________________________
> Ltp-list mailing list
> Ltp-list@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/ltp-list



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [LTP] [PATCH] safe_macros.h: fix warning
       [not found] <e9647cdbda675e315776948ed7731ceb68757dd7.1321364606.git.caspar@casparzhang.com>
  2011-11-16  1:58 ` [LTP] [PATCH] safe_macros.h: fix warning Wanlong Gao
@ 2011-11-16 14:06 ` Cyril Hrubis
  1 sibling, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2011-11-16 14:06 UTC (permalink / raw)
  To: Caspar Zhang; +Cc: LTP List

Hi!
> The following warning is given when compiling testcases with
> safe_macros.h included:
> 
> .../safe_macros.h:62: warning: ???struct rusage??? declared inside parameter list
> .../safe_macros.h:62: warning: its scope is only this definition or declaration, which is probably not what you want
> 
> This patch does a quick fix to get rid of the warning.

Commited, thanks.

-- 
Cyril Hrubis
chrubis@suse.cz

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-16 13:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <e9647cdbda675e315776948ed7731ceb68757dd7.1321364606.git.caspar@casparzhang.com>
2011-11-16  1:58 ` [LTP] [PATCH] safe_macros.h: fix warning Wanlong Gao
2011-11-16 14:06 ` Cyril Hrubis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox