tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: rc.d and non daemon servers



On Sat, 7 Mar 2009 17:58:34 +0100
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> On Sat, Mar 07, 2009 at 09:20:37AM -0500, James K. Lowden wrote:
> > Alistair Crooks wrote:
> > > Use a static function for usage message
> > 
> > Why care about static in a module with main()?  
> 
> E.g. compiler can fully inline it automatically.
> 
It's also just a matter of good style -- personally, I think that C
should have 'static' as the default (though obviously it's far too late
to even consider changing that).

Anyway -- my program, with Alistair's clean-up, is now in
pkgsrc/sysutils/daemond.


                --Steve Bellovin, http://www.cs.columbia.edu/~smb


Home | Main Index | Thread Index | Old Index