Skip to content

Commit df4a8a4

Browse files
richard-finejoncham
authored andcommitted
Change struct definition to a typedef, because this is C
1 parent d9d025e commit df4a8a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mono/metadata/profiler.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,11 +408,11 @@ mono_profiler_get_coverage_data (MonoProfilerHandle handle, MonoMethod *method,
408408
return TRUE;
409409
}
410410

411-
struct InvokeCallbackInfo
411+
typedef struct
412412
{
413413
MonoProfilerCoverageCallback cb;
414414
MonoProfilerHandle handle;
415-
};
415+
} InvokeCallbackInfo;
416416

417417
static void invoke_coverage_callback_for_hashtable_entry (gpointer key, gpointer value, gpointer user_data)
418418
{

0 commit comments

Comments
 (0)