Skip to content

Commit bf8cb32

Browse files
committed
[debugger-agent]
- Move method declaration to top of the file
1 parent cb35df1 commit bf8cb32

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mono/mini/debugger-agent.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,7 @@ static MonoCoopMutex debug_mutex;
764764

765765
static void transport_init (void);
766766
static void transport_connect (const char *address);
767+
static void transport_close2 (void);
767768
static gboolean transport_handshake (void);
768769
static void register_transport (DebuggerTransport *trans);
769770

@@ -1091,9 +1092,6 @@ mono_debugger_get_generate_debug_info ()
10911092
return disable_optimizations;
10921093
}
10931094

1094-
// Declare transport_close2 method
1095-
static void transport_close2(void);
1096-
10971095
MONO_API void
10981096
mono_debugger_disconnect ()
10991097
{

0 commit comments

Comments
 (0)