commit 4aadc3984f253a733f0748c14b3f2644b50be4a4 from: Omar Polo date: Thu May 19 07:36:29 2022 UTC add the prototype for scan_scaled too in 0677399e i've re-added scan_scaled even if unused to reduce the diff with /usr/src. This causes a warning on platform that lacks that functions (everything not OpenBSD) because its prototype is missing. commit - 5edd158f8dabeeb47c8cc331bdd6a36585df004c commit + 4aadc3984f253a733f0748c14b3f2644b50be4a4 blob - 50a4c8463e720db999afd8a7439dadf1d102a913 blob + a0dec05f4f6b7638f3b46d8a5383b1eac83f6621 --- include/compat.h +++ include/compat.h @@ -57,6 +57,7 @@ #else # include "compat/ohash.h" # define FMT_SCALED_STRSIZE 7 /* minus sign, 4 digits, suffix, null byte */ +int scan_scaled(char *, long long *); int fmt_scaled(long long, char *); #endif