[Cbe-oss-dev] [PATCH 2/7] libspe2: Hide internal symbols: run
Kazunori Asayama
asayama at sm.sony.co.jp
Thu Jul 19 23:22:07 EST 2007
This patch hides internal symbols in the 'run' part of libspe2.
Signed-off-by: Kazunori Asayama <asayama at sm.sony.co.jp>
---
spebase/run.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
Index: b/spebase/run.c
===================================================================
--- a/spebase/run.c 2007-07-19 15:28:02.000000000 +0900
+++ b/spebase/run.c 2007-07-19 15:28:25.000000000 +0900
@@ -43,8 +43,8 @@ __thread struct spe_context_info {
struct spe_context_info *prev;
}*__spe_current_active_context;
-
-void cleanupspeinfo(struct spe_context_info *ctxinfo)
+
+static void cleanupspeinfo(struct spe_context_info *ctxinfo)
{
struct spe_context_info *tmp = ctxinfo->prev;
__spe_current_active_context = tmp;
@@ -88,9 +88,7 @@ static int issue_isolated_exit(struct sp
return 0;
}
-void freespeinfo(void);
-
-inline void freespeinfo()
+static inline void freespeinfo()
{
/*Clean up the debug variable*/
struct spe_context_info *tmp = __spe_current_active_context->prev;
More information about the cbe-oss-dev
mailing list