| To: | xfs@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH] tiny nametest.c warning fixes |
| From: | Christoph Hellwig <hch@xxxxxx> |
| Date: | Sat, 9 Aug 2008 21:59:08 +0200 |
| Sender: | xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.3.28i |
Include ctype.h for toupper/tolower and remove an unused variable.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
--- 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)
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] stop rejecting options in remount, Christoph Hellwig |
|---|---|
| Next by Date: | [PATCH] xfsprogs: sparse support, Christoph Hellwig |
| Previous by Thread: | [PATCH] stop rejecting options in remount, Christoph Hellwig |
| Next by Thread: | Re: [PATCH] tiny nametest.c warning fixes, Christoph Hellwig |
| Indexes: | [Date] [Thread] [Top] [All Lists] |