public inbox for linux-xfs@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tiny nametest.c warning fixes
@ 2008-08-09 19:59 Christoph Hellwig
  2008-08-28 23:16 ` Christoph Hellwig
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2008-08-09 19:59 UTC (permalink / raw)
  To: xfs

Include ctype.h for toupper/tolower and remove an unused variable.


Signed-off-by: Christoph Hellwig <hch@lst.de>

--- xfstests/src/nametest.c	24 Jun 2008 16:29:51 -0000	1.8
+++ xfstests/src/nametest.c	9 Aug 2008 19:55:37 -0000
@@ -16,6 +16,7 @@
  * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include <ctype.h>
 #include "global.h"
 
 /*
@@ -308,7 +309,6 @@ main(int argc, char *argv[])
 char *get_name(struct info *ip)
 {
 	static char path[PATH_MAX];
-	int i;
 	char *p;
 
 	if (!mixcase)

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

* Re: [PATCH] tiny nametest.c warning fixes
  2008-08-09 19:59 [PATCH] tiny nametest.c warning fixes Christoph Hellwig
@ 2008-08-28 23:16 ` Christoph Hellwig
  0 siblings, 0 replies; 2+ messages in thread
From: Christoph Hellwig @ 2008-08-28 23:16 UTC (permalink / raw)
  To: xfs

ping?

On Sat, Aug 09, 2008 at 09:59:08PM +0200, Christoph Hellwig wrote:
> Include ctype.h for toupper/tolower and remove an unused variable.
> 
> 
> Signed-off-by: Christoph Hellwig <hch@lst.de>
> 
> --- xfstests/src/nametest.c	24 Jun 2008 16:29:51 -0000	1.8
> +++ xfstests/src/nametest.c	9 Aug 2008 19:55:37 -0000
> @@ -16,6 +16,7 @@
>   * Inc.,  51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
>   */
>  
> +#include <ctype.h>
>  #include "global.h"
>  
>  /*
> @@ -308,7 +309,6 @@ main(int argc, char *argv[])
>  char *get_name(struct info *ip)
>  {
>  	static char path[PATH_MAX];
> -	int i;
>  	char *p;
>  
>  	if (!mixcase)
---end quoted text---

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

end of thread, other threads:[~2008-08-28 23:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-09 19:59 [PATCH] tiny nametest.c warning fixes Christoph Hellwig
2008-08-28 23:16 ` Christoph Hellwig

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