*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename 808035 611 6868 815514 c719a busybox_old 804472 611 6868 811951 c63af busybox_unstripped
This commit is contained in:
@@ -55,12 +55,12 @@ static char *xmalloc_fgets_internal(FILE *file, const char *terminating_string,
|
||||
* including terminating string.
|
||||
* Non-terminated string can be returned if EOF is reached.
|
||||
* Return NULL if EOF is reached immediately. */
|
||||
char *xmalloc_fgets_str(FILE *file, const char *terminating_string)
|
||||
char* FAST_FUNC xmalloc_fgets_str(FILE *file, const char *terminating_string)
|
||||
{
|
||||
return xmalloc_fgets_internal(file, terminating_string, 0);
|
||||
}
|
||||
|
||||
char *xmalloc_fgetline_str(FILE *file, const char *terminating_string)
|
||||
char* FAST_FUNC xmalloc_fgetline_str(FILE *file, const char *terminating_string)
|
||||
{
|
||||
return xmalloc_fgets_internal(file, terminating_string, 1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user