DragonFly BSD
DragonFly submit List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Patch to init


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 25 Feb 2005 16:18:30 +0100
Mail-followup-to: submit@crater.dragonflybsd.org

On Thu, Feb 24, 2005 at 09:02:25PM -0800, Kevin M. Kilbride wrote:
> This patch brings sbin/init into WARNS=6 compliance. It depends upon the 
> execve 'constification' patch submitted prior.

Commited with the following changes:
- stall and the like are used only locally, make them static.
- don't use __attribute__ directly, but e.g. __unused. this allows us
  to support other compilers as well.
- I use the better code for get_chroot, less hacks and cleaner code.
- we can't chang ethe interface of execve, but we know that it is save.
  ==> __DECONST is fine.

Joerg



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