lkml.org 
[lkml]   [2008]   [May]   [12]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateMon, 12 May 2008 11:08:48 +0400
FromPavel Emelyanov <>
SubjectRe: [PATCH] Mark res_counter_charge(_locked) with __must_check
KAMEZAWA Hiroyuki wrote:
> On Thu, 08 May 2008 13:40:53 +0400
> Pavel Emelyanov <xemul@openvz.org> wrote:
> 
>>> BTW, res_counter_charge_locked() should be extern function ?
>> What do you mean? It is extern as well as the res_counter_charge
>> and uncharge ones are, but functions may have forward declarations
>> w/o extern keyword AFAIK ;)
>>
> Ah, 
> Is  res_counter_charge_locked() is called from files other than res_counter.c ?

I checked - everything was OK.

> Does we need declaration in header file ?

But this patch _is_ for declaration in header :)

> Thanks,
> -Kame
> 
> 



\
 
 \ /
  Last update: 2008-05-12 09:21    [from the cache]
©2003-2008