* 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:
Vladimir 'phcoder' Serbinenko 2013-10-21 13:25:56 +02:00
parent 067e6ae74d
commit 00f72e890b
3 changed files with 13 additions and 8 deletions

View file

@ -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)
{