Commit 329c6e42 authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds

[PATCH] uml: header formatting cleanups

Clean up whitespace and return syntax in os.h.
Signed-off-by: default avatarJeff Dike <jdike@addtoit.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent b076bb02
......@@ -66,61 +66,61 @@ struct openflags {
static inline struct openflags of_read(struct openflags flags)
{
flags.r = 1;
return(flags);
return flags;
}
static inline struct openflags of_write(struct openflags flags)
{
flags.w = 1;
return(flags);
return flags;
}
static inline struct openflags of_rdwr(struct openflags flags)
{
return(of_read(of_write(flags)));
return of_read(of_write(flags));
}
static inline struct openflags of_set_rw(struct openflags flags, int r, int w)
{
flags.r = r;
flags.w = w;
return(flags);
return flags;
}
static inline struct openflags of_sync(struct openflags flags)
{
flags.s = 1;
return(flags);
return flags;
}
static inline struct openflags of_create(struct openflags flags)
{
flags.c = 1;
return(flags);
return flags;
}
static inline struct openflags of_trunc(struct openflags flags)
{
flags.t = 1;
return(flags);
return flags;
}
static inline struct openflags of_append(struct openflags flags)
{
flags.a = 1;
return(flags);
return flags;
}
static inline struct openflags of_excl(struct openflags flags)
{
flags.e = 1;
return(flags);
return flags;
}
static inline struct openflags of_cloexec(struct openflags flags)
{
flags.cl = 1;
return(flags);
return flags;
}
/* file.c */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment