Re: Patch to mark items as static or not used - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Patch to mark items as static or not used
Date
Msg-id 44B8EF01.9000506@dunslane.net
Whole thread Raw
In response to Re: Patch to mark items as static or not used  (Neil Conway <neilc@samurai.com>)
Responses Re: Patch to mark items as static or not used  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Neil Conway wrote:
> On Sat, 2006-07-15 at 00:05 -0400, Tom Lane wrote:
>   
>> The fundamental problem with find_static is that it hasn't got a clue
>> about likely future changes, nor about what we think external add-ons
>> might want
>>     
>
> We could annotate the source to indicate that some functions are
> deliberately intended to be externally visible, but not referenced
> within the source tree, and then teach find_static to grok that
> annotation.
>
>   

I thought of that, but what if one gets missed? Is the tool worth the 
hassle?

cheers

andrew


pgsql-hackers by date:

Previous
From: "Marko Kreen"
Date:
Subject: Re: [PATCHES] [patch 0/9] annual pgcrypto update
Next
From: Martijn van Oosterhout
Date:
Subject: Re: Patch to mark items as static or not used