[Ffmpeg-devel] [PATCH] Missing extern declaration
Måns Rullgård
mru
Sun Sep 24 12:48:54 CEST 2006
Panagiotis Issaris <takis.issaris at uhasselt.be> writes:
> Hi,
>
> An extern declaration for av_strtod was missing in eval.c. I actually
> introduced this one :-(
>
> eval.c | 2 ++
> 1 files changed, 2 insertions(+)
>
> With friendly regards,
> Takis
>
> diff --git a/libavcodec/eval.c b/libavcodec/eval.c
> index 2aabb3b..dfc6543 100644
> --- a/libavcodec/eval.c
> +++ b/libavcodec/eval.c
> @@ -54,6 +54,8 @@ typedef struct Parser{
> void *opaque;
> } Parser;
>
> +extern double av_strtod(const char *name, char **tail);
Function prototypes should be in a header file #included by the C file
that defines it, and by all users of the function.
--
M?ns Rullg?rd
mru at inprovide.com
More information about the ffmpeg-devel
mailing list