From: Sami Kerola Date: Mon, 29 Aug 2016 09:41:28 +0000 (+0100) Subject: warnings: correct function pointer prototype argument X-Git-Tag: v0.88~26^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94dc48a2244668d81efe3638c2d89fa9f2bd39ab;p=thirdparty%2Fmtr.git warnings: correct function pointer prototype argument In struct fields the function pointer is getting assignments of functions that take one int as input argument. --- diff --git a/net.h b/net.h index 66040f2..59712a2 100644 --- a/net.h +++ b/net.h @@ -108,7 +108,7 @@ struct fields { CONST char *title; CONST char *format; int length; - int (*net_xxx)(); + int (*net_xxx)(int); }; extern struct fields data_fields[MAXFLD];