From defc1ea34074e7882724c460260d307cdf981a70 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko <vda.linux@googlemail.com> Date: Fri, 27 Jun 2008 02:52:20 +0000 Subject: *: 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 --- libbb/restricted_shell.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libbb/restricted_shell.c') diff --git a/libbb/restricted_shell.c b/libbb/restricted_shell.c index dc4cfb458..2a5073f03 100644 --- a/libbb/restricted_shell.c +++ b/libbb/restricted_shell.c @@ -32,7 +32,7 @@ /* Return 1 if SHELL is a restricted shell (one not returned by getusershell), else 0, meaning it is a standard shell. */ -int restricted_shell(const char *shell) +int FAST_FUNC restricted_shell(const char *shell) { char *line; -- cgit v1.2.3-55-g6feb