From 6dcc2a7e00e5e1ae23d3c99b962e61e99a49dfce Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 22 Jun 2009 23:46:55 +0000 Subject: [PATCH] Made destroy_team_debug_info() static, as it's not used outside the source file. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31190 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- headers/private/kernel/user_debugger.h | 1 - src/system/kernel/debug/user_debugger.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/headers/private/kernel/user_debugger.h b/headers/private/kernel/user_debugger.h index e1b12adb26..02e977957f 100644 --- a/headers/private/kernel/user_debugger.h +++ b/headers/private/kernel/user_debugger.h @@ -193,7 +193,6 @@ extern "C" { // service calls void clear_team_debug_info(struct team_debug_info *info, bool initLock); -void destroy_team_debug_info(struct team_debug_info *info); void init_thread_debug_info(struct thread_debug_info *info); void clear_thread_debug_info(struct thread_debug_info *info, bool dying); diff --git a/src/system/kernel/debug/user_debugger.cpp b/src/system/kernel/debug/user_debugger.cpp index bd745de3e3..948bbaa084 100644 --- a/src/system/kernel/debug/user_debugger.cpp +++ b/src/system/kernel/debug/user_debugger.cpp @@ -240,7 +240,7 @@ clear_team_debug_info(struct team_debug_info *info, bool initLock) * 4. release `lock' * 5. call destroy_team_debug_info() on the copied team debug info */ -void +static void destroy_team_debug_info(struct team_debug_info *info) { if (info) {