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

lib/parser.c: put EXPORT_SYMBOLs in the conventional place

Cc: Du, Changbin <changbin.du@gmail.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Andrew Morton and committed by
Linus Torvalds
a3d2cca4 aace0509

+6 -7
+6 -7
lib/parser.c
··· 113 113 114 114 return p->token; 115 115 } 116 + EXPORT_SYMBOL(match_token); 116 117 117 118 /** 118 119 * match_number: scan a number in the given base from a substring_t ··· 164 163 { 165 164 return match_number(s, result, 0); 166 165 } 166 + EXPORT_SYMBOL(match_int); 167 167 168 168 /** 169 169 * match_octal: - scan an octal representation of an integer from a substring_t ··· 179 177 { 180 178 return match_number(s, result, 8); 181 179 } 180 + EXPORT_SYMBOL(match_octal); 182 181 183 182 /** 184 183 * match_hex: - scan a hex representation of an integer from a substring_t ··· 194 191 { 195 192 return match_number(s, result, 16); 196 193 } 194 + EXPORT_SYMBOL(match_hex); 197 195 198 196 /** 199 197 * match_wildcard: - parse if a string matches given wildcard pattern ··· 245 241 ++p; 246 242 return !*p; 247 243 } 244 + EXPORT_SYMBOL(match_wildcard); 248 245 249 246 /** 250 247 * match_strlcpy: - Copy the characters from a substring_t to a sized buffer ··· 268 263 } 269 264 return ret; 270 265 } 266 + EXPORT_SYMBOL(match_strlcpy); 271 267 272 268 /** 273 269 * match_strdup: - allocate a new string with the contents of a substring_t ··· 286 280 match_strlcpy(p, s, sz); 287 281 return p; 288 282 } 289 - 290 - EXPORT_SYMBOL(match_token); 291 - EXPORT_SYMBOL(match_int); 292 - EXPORT_SYMBOL(match_octal); 293 - EXPORT_SYMBOL(match_hex); 294 - EXPORT_SYMBOL(match_wildcard); 295 - EXPORT_SYMBOL(match_strlcpy); 296 283 EXPORT_SYMBOL(match_strdup);