Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Felipe Contreras <felipe.contreras@gmail.com>
Cc: Levente Kurusa <levex@linux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Felipe Contreras and committed by
Linus Torvalds
ff6f9bbb 9fd43054

+2 -3
+2 -3
lib/cmdline.c
··· 67 67 68 68 return 1; 69 69 } 70 + EXPORT_SYMBOL(get_option); 70 71 71 72 /** 72 73 * get_options - Parse a string into a list of integers ··· 113 112 ints[0] = i - 1; 114 113 return (char *)str; 115 114 } 115 + EXPORT_SYMBOL(get_options); 116 116 117 117 /** 118 118 * memparse - parse a string with mem suffixes into a number ··· 154 152 155 153 return ret; 156 154 } 157 - 158 155 EXPORT_SYMBOL(memparse); 159 - EXPORT_SYMBOL(get_option); 160 - EXPORT_SYMBOL(get_options);