[vlc-devel] [PATCH] Fixed warning on missing function prototype

Rémi Denis-Courmont remi at remlab.net
Sat Nov 23 19:35:40 CET 2013


Le samedi 23 novembre 2013, 00:07:22 Maxim Bublis a écrit :
> ---
>  compat/strverscmp.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/compat/strverscmp.c b/compat/strverscmp.c
> index 0487592..6f6f7f0 100644
> --- a/compat/strverscmp.c
> +++ b/compat/strverscmp.c
> @@ -33,6 +33,7 @@
>  #define  CMP    2
>  #define  LEN    3
> 
> +int strverscmp (const char*, const char*);

Better include config.h, I think

> 
>  /* Compare S1 and S2 as strings holding indices/version numbers,
>     returning less than, equal to or greater than zero if S1 is less than,

-- 
Rémi Denis-Courmont
http://www.remlab.net/




More information about the vlc-devel mailing list