* grub-core/kern/misc.c (grub_isprint): Move to ...
* include/grub/misc.h (grub_isprint): ... here. Make inline. Saves 20 bytes on compressed image due to remving exporting.
This commit is contained in:
parent
067e6ae74d
commit
00f72e890b
3 changed files with 13 additions and 8 deletions
|
@ -347,13 +347,6 @@ grub_isspace (int c)
|
|||
return (c == '\n' || c == '\r' || c == ' ' || c == '\t');
|
||||
}
|
||||
|
||||
int
|
||||
grub_isprint (int c)
|
||||
{
|
||||
return (c >= ' ' && c <= '~');
|
||||
}
|
||||
|
||||
|
||||
unsigned long
|
||||
grub_strtoul (const char *str, char **end, int base)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue