From ca517e8b320c7a31c3a147fb1212ddb33cabd919 Mon Sep 17 00:00:00 2001 From: David Oberhollenzer Date: Thu, 22 Jun 2017 13:37:40 +0200 Subject: Eliminate warnings about missing prototypes This patch eliminates warnings generated by the -Wmissing-prototypes option. With this flag set, we are now forced to have prototypes for all global, exported functions, that have to be made visible to the definitions and we are forced to mark all local functions as static. Signed-off-by: David Oberhollenzer --- lib/libfec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/libfec.c') diff --git a/lib/libfec.c b/lib/libfec.c index 0d8056a..aeb0bc2 100644 --- a/lib/libfec.c +++ b/lib/libfec.c @@ -544,7 +544,7 @@ fail: * q = values of the polynomial (known) */ -int +static int invert_vdm(gf *src, int k) { int i, j, row, col ; -- cgit v1.2.3