X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mono%2Fsgen%2Fsgen-layout-stats.c;h=103ef31436465d683b500229926c512e575adc03;hb=5d80d08b8c2327752d9b68ba0c4723ce9a76a40e;hp=44ddf94b24dad9e505796d536d2d0c6f99417e14;hpb=12db41477b0ba2855070fc3d1913cb99fc93d0c0;p=mono.git diff --git a/mono/sgen/sgen-layout-stats.c b/mono/sgen/sgen-layout-stats.c index 44ddf94b24d..103ef314364 100644 --- a/mono/sgen/sgen-layout-stats.c +++ b/mono/sgen/sgen-layout-stats.c @@ -1,4 +1,5 @@ -/* +/** + * \file * Copyright Xamarin Inc (http://www.xamarin.com) * * Licensed under the MIT license. See LICENSE file in the project root for full license information. @@ -9,6 +10,7 @@ #include "sgen/sgen-gc.h" #include "sgen/sgen-layout-stats.h" +#include #ifdef SGEN_OBJECT_LAYOUT_STATISTICS @@ -60,9 +62,6 @@ sgen_object_layout_dump (FILE *out) } #else -#ifdef _MSC_VER -// Quiet Visual Studio linker warning, LNK4221, in cases when this source file intentional ends up empty. -void __mono_win32_sgen_layout_stats_quiet_lnk4221(void) {} -#endif +MONO_EMPTY_SOURCE_FILE (sgen_layout_stats); #endif /* SGEN_OBJECT_LAYOUT_STATISTICS */ #endif