From defc1ea34074e7882724c460260d307cdf981a70 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko 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 --- selinux/chcon.c | 2 +- selinux/setfiles.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'selinux') diff --git a/selinux/chcon.c b/selinux/chcon.c index 288e93ad3..505ae4f32 100644 --- a/selinux/chcon.c +++ b/selinux/chcon.c @@ -28,7 +28,7 @@ static char *type = NULL; static char *range = NULL; static char *specified_context = NULL; -static int change_filedir_context( +static int FAST_FUNC change_filedir_context( const char *fname, struct stat *stbuf ATTRIBUTE_UNUSED, void *userData ATTRIBUTE_UNUSED, diff --git a/selinux/setfiles.c b/selinux/setfiles.c index 82e9e5348..991c13cd7 100644 --- a/selinux/setfiles.c +++ b/selinux/setfiles.c @@ -391,7 +391,7 @@ static int restore(const char *file) * This function is called by recursive_action on each file during * the directory traversal. */ -static int apply_spec( +static int FAST_FUNC apply_spec( const char *file, struct stat *sb, void *userData ATTRIBUTE_UNUSED, -- cgit v1.2.3