[PATCH] mips: remove typedef from struct flock

Yoichi Yuasa
2005-09-01T15:01:28Z

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@hh.iij4u.or.jp>

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;