Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff6f9bbb authored by Felipe Contreras's avatar Felipe Contreras Committed by Linus Torvalds
Browse files

lib/cmdline.c: declare exported symbols immediately



WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
+EXPORT_SYMBOL(memparse);

WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
+EXPORT_SYMBOL(get_option);

WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable
+EXPORT_SYMBOL(get_options);

Signed-off-by: default avatarFelipe Contreras <felipe.contreras@gmail.com>
Cc: Levente Kurusa <levex@linux.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 9fd43054
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -67,6 +67,7 @@ int get_option(char **str, int *pint)


	return 1;
	return 1;
}
}
EXPORT_SYMBOL(get_option);


/**
/**
 *	get_options - Parse a string into a list of integers
 *	get_options - Parse a string into a list of integers
@@ -112,6 +113,7 @@ char *get_options(const char *str, int nints, int *ints)
	ints[0] = i - 1;
	ints[0] = i - 1;
	return (char *)str;
	return (char *)str;
}
}
EXPORT_SYMBOL(get_options);


/**
/**
 *	memparse - parse a string with mem suffixes into a number
 *	memparse - parse a string with mem suffixes into a number
@@ -152,7 +154,4 @@ unsigned long long memparse(const char *ptr, char **retptr)


	return ret;
	return ret;
}
}

EXPORT_SYMBOL(memparse);
EXPORT_SYMBOL(memparse);
EXPORT_SYMBOL(get_option);
EXPORT_SYMBOL(get_options);