fix bogus 'extern "C"' declaration

This commit is contained in:
Heikki Linnakangas
2025-07-14 20:26:46 +03:00
parent e4df722f29
commit 2a8850523e

View File

@@ -30,6 +30,6 @@ pub struct LfcMetrics {
// index 59 is size of working set accessed within last 60 minutes.
pub lfc_approximate_working_set_size_windows: [i64; 60],
}
pub extern "C" fn callback_get_lfc_metrics() -> LfcMetrics {
pub fn callback_get_lfc_metrics() -> LfcMetrics {
unsafe { callback_get_lfc_metrics_unsafe() }
}