From dbe330bca9d80efba8fa43fd2c08e44ca7071df8 Mon Sep 17 00:00:00 2001 From: suzuki toshiya Date: Sun, 30 Oct 2011 12:31:03 +0900 Subject: [PATCH] [raccess] Hide raccess_rule_by_darwin_vfs() on native Mac OS X. * src/base/ftrfork.c (raccess_rule_by_darwin_vfs): Do not compile on native Mac OS X because it is not used. --- ChangeLog | 7 +++++++ src/base/ftrfork.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index c33a795bc..0d86a6353 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-10-30 suzuki toshiya + + [raccess] Hide raccess_rule_by_darwin_vfs() on native Mac OS X. + + * src/base/ftrfork.c (raccess_rule_by_darwin_vfs): Do not + compile on native Mac OS X because it is not used. + 2011-10-25 Werner Lemberg [truetype] Fix MD instruction for twilight zone. diff --git a/src/base/ftrfork.c b/src/base/ftrfork.c index 4e7d510a5..707f67cac 100644 --- a/src/base/ftrfork.c +++ b/src/base/ftrfork.c @@ -427,6 +427,7 @@ } +#if !defined( FT_MACINTOSH ) || defined( DARWIN_NO_CARBON ) FT_LOCAL_DEF( FT_Bool ) raccess_rule_by_darwin_vfs( FT_UInt rule_index ) { @@ -440,6 +441,7 @@ return FALSE; } } +#endif static FT_Error