Skip to content

Commit d84aeb1

Browse files
alexrpmikelle-rogers
authored andcommitted
Fix hostfxr.h to be valid C again. (dotnet#109763)
1 parent 0c8df72 commit d84aeb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/native/corehost/hostfxr.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,7 +384,7 @@ struct hostfxr_resolve_frameworks_result
384384
};
385385

386386
typedef void (HOSTFXR_CALLTYPE* hostfxr_resolve_frameworks_result_fn)(
387-
const hostfxr_resolve_frameworks_result* result,
387+
const struct hostfxr_resolve_frameworks_result* result,
388388
void* result_context);
389389

390390
//
@@ -411,7 +411,7 @@ typedef void (HOSTFXR_CALLTYPE* hostfxr_resolve_frameworks_result_fn)(
411411
//
412412
typedef int32_t(HOSTFXR_CALLTYPE* hostfxr_resolve_frameworks_for_runtime_config_fn)(
413413
const char_t* runtime_config_path,
414-
/*opt*/ const hostfxr_initialize_parameters* parameters,
414+
/*opt*/ const struct hostfxr_initialize_parameters* parameters,
415415
/*opt*/ hostfxr_resolve_frameworks_result_fn callback,
416416
/*opt*/ void* result_context);
417417

0 commit comments

Comments
 (0)