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

Michel Bardiaux mbardiaux
Mon Apr 14 11:21:57 CEST 2008


Benoit Fouet wrote:
> Michael Niedermayer wrote:
>> On Fri, Apr 11, 2008 at 12:40:03AM +0200, Stefano Sabatini wrote:
>>   
>>> Hi all,
>>>
>>> sorry for the possibly dumb question, but what's the purpose of the
>>> extern in the libavutil/log.h functions declarations?
>>>
>>> If they're useless, what about to apply the attached patch?
>>>     
>> looks ok
>>
>> [...]
>>   
>>   
> 
> applied
> 

Indeed that is consistent with the style of say avcodec.h.

But then why is there "extern void fprintf" in stdio.h?

-- 
Michel Bardiaux
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list