[FFmpeg-devel] [RFC] Why av_log functions are declared as extern?

Zuxy Meng zuxy.meng
Mon Apr 14 14:13:33 CEST 2008

2008/4/14, Luca Abeni <lucabe72 at email.it>:
> Hi all,
> Michel Bardiaux wrote:
> [...]
> > Indeed that is consistent with the style of say avcodec.h.
> >
> > But then why is there "extern void fprintf" in stdio.h?
> I suspect the real question is: what's the point in adding
> the "extern" keyword to the prototype of a function?

Similar to adding "auto" before a local var? External linkages are
default but C allows to express it explicitly.
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6

More information about the ffmpeg-devel mailing list