change log for rtems (2011-02-24)

Ralf Corsepius ralf.corsepius at rtems.org
Fri Feb 25 02:08:03 UTC 2011


On 02/25/2011 12:06 AM, Chris Johns wrote:
> On 25/02/11 3:10 AM, rtems-vc at rtems.org wrote:
>> -int statvfs(const char *, struct statvfs *);
>> -int fstatvfs(int, struct statvfs *);
>> +extern int statvfs(const char *, struct statvfs *);
>> +extern int fstatvfs(int, struct statvfs *);
>
> Why is the extern needed ?

Why not to use extern?

I am using "extern" primarily for reasons of code clarity (these 
functions are "extern") and to prevent people from making them "static".

Ralf




More information about the vc mailing list