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

[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
Loading
Loading
Loading
Loading
+34 −34
Original line number Diff line number Diff line
@@ -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 */