Unified · Split
| @@ -113,6 +113,7 @@ int match_token(char *s, const match_table_t table, substring_t args[]) · 112 unmodified lines | ||
| 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 |
| @@ -163,6 +164,7 @@ int match_int(substring_t *s, int *result) · 44 unmodified lines | ||
| 163 | 164 | { |
| 164 | 165 | return match_number(s, result, 0); |
| 165 | 166 | } |
| 167 | +EXPORT_SYMBOL(match_int); | |
| 166 | 168 | |
| 167 | 169 | /** |
| 168 | 170 | * match_octal: - scan an octal representation of an integer from a substring_t |
| @@ -177,6 +179,7 @@ int match_octal(substring_t *s, int *result) · 8 unmodified lines | ||
| 177 | 179 | { |
| 178 | 180 | return match_number(s, result, 8); |
| 179 | 181 | } |
| 182 | +EXPORT_SYMBOL(match_octal); | |
| 180 | 183 | |
| 181 | 184 | /** |
| 182 | 185 | * match_hex: - scan a hex representation of an integer from a substring_t |
| @@ -191,6 +194,7 @@ int match_hex(substring_t *s, int *result) · 8 unmodified lines | ||
| 191 | 194 | { |
| 192 | 195 | return match_number(s, result, 16); |
| 193 | 196 | } |
| 197 | +EXPORT_SYMBOL(match_hex); | |
| 194 | 198 | |
| 195 | 199 | /** |
| 196 | 200 | * match_wildcard: - parse if a string matches given wildcard pattern |
| @@ -241,6 +245,7 @@ bool match_wildcard(const char *pattern, const char *str) · 44 unmodified lines | ||
| 241 | 245 | ++p; |
| 242 | 246 | return !*p; |
| 243 | 247 | } |
| 248 | +EXPORT_SYMBOL(match_wildcard); | |
| 244 | 249 | |
| 245 | 250 | /** |
| 246 | 251 | * match_strlcpy: - Copy the characters from a substring_t to a sized buffer |
| @@ -263,6 +268,7 @@ size_t match_strlcpy(char *dest, const substring_t *src, size_t size) · 16 unmodified lines | ||
| 263 | 268 | } |
| 264 | 269 | return ret; |
| 265 | 270 | } |
| 271 | +EXPORT_SYMBOL(match_strlcpy); | |
| 266 | 272 | |
| 267 | 273 | /** |
| 268 | 274 | * match_strdup: - allocate a new string with the contents of a substring_t |
| @@ -280,11 +286,4 @@ char *match_strdup(const substring_t *s) · 11 unmodified lines | ||
| 280 | 286 | match_strlcpy(p, s, sz); |
| 281 | 287 | return p; |
| 282 | 288 | } |
| 283 | − | |
| 284 | −EXPORT_SYMBOL(match_token); | |
| 285 | −EXPORT_SYMBOL(match_int); | |
| 286 | −EXPORT_SYMBOL(match_octal); | |
| 287 | −EXPORT_SYMBOL(match_hex); | |
| 288 | −EXPORT_SYMBOL(match_wildcard); | |
| 289 | −EXPORT_SYMBOL(match_strlcpy); | |
| 290 | 289 | EXPORT_SYMBOL(match_strdup); |