From 94dc48a2244668d81efe3638c2d89fa9f2bd39ab Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Mon, 29 Aug 2016 10:41:28 +0100 Subject: [PATCH] warnings: correct function pointer prototype argument In struct fields the function pointer is getting assignments of functions that take one int as input argument. --- net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; -- 2.47.2