From: Bram Moolenaar Date: Sun, 4 Jul 2021 14:50:55 +0000 (+0200) Subject: patch 8.2.3101: missing function prototype for vim_round() X-Git-Tag: v8.2.3101 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=67b17a6fc62156383d24dcbd6e6df34e180d7235;p=vim patch 8.2.3101: missing function prototype for vim_round() Problem: Missing function prototype for vim_round(). Solution: Add the prototype. --- diff --git a/src/proto/float.pro b/src/proto/float.pro index e14ce2473..806eba1f6 100644 --- a/src/proto/float.pro +++ b/src/proto/float.pro @@ -1,4 +1,4 @@ -/* math.c */ +/* float.c */ int string2float(char_u *text, float_T *value); void f_abs(typval_T *argvars, typval_T *rettv); void f_acos(typval_T *argvars, typval_T *rettv); @@ -17,6 +17,7 @@ void f_isnan(typval_T *argvars, typval_T *rettv); void f_log(typval_T *argvars, typval_T *rettv); void f_log10(typval_T *argvars, typval_T *rettv); void f_pow(typval_T *argvars, typval_T *rettv); +float_T vim_round(float_T f); void f_round(typval_T *argvars, typval_T *rettv); void f_sin(typval_T *argvars, typval_T *rettv); void f_sinh(typval_T *argvars, typval_T *rettv);