[PATCH] mips: remove typedef from struct flock

From: Yoichi Yuasa
Date: Thu Sep 01 2005 - 10:01:48 EST


Hi,

This patch has fixed the following warning about MIPS.
Please apply.

Yoichi

CC arch/mips/kernel/offset.s
In file included from include/linux/fcntl.h:4,
from include/linux/fs.h:689,
from include/linux/mm.h:15,
from arch/mips/kernel/offset.c:15:
include/asm/fcntl.h:53: warning: useless keyword or type name in empty declaration

Signed-off-by: Yoichi Yuasa <yuasa@xxxxxxxxxxxxxx>

diff -urN -X dontdiff mm1-orig/include/asm-mips/fcntl.h mm1/include/asm-mips/fcntl.h
--- mm1-orig/include/asm-mips/fcntl.h 2005-09-01 21:58:47.000000000 +0900
+++ mm1/include/asm-mips/fcntl.h 2005-09-01 23:38:18.000000000 +0900
@@ -42,7 +42,7 @@

#ifndef __mips64

-typedef struct flock {
+struct flock {
short l_type;
short l_whence;
__kernel_off_t l_start;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/