Re: Drop main() prototype

2016-09-09 Thread Sevan Janiyan
On 05/09/2016 11:05, Marc Espie wrote: > On Mon, Sep 05, 2016 at 04:04:23AM -0400, Ted Unangst wrote: >> Sevan Janiyan wrote: >>> Hello, >>> Attached patches remove the main() prototype from >>> src/{sbin,usr.bin,usb.sbin} >> >> yes! > > I'm 100% certain I added those prototypes because some

Re: Drop main() prototype

2016-09-05 Thread Marc Espie
On Mon, Sep 05, 2016 at 04:04:23AM -0400, Ted Unangst wrote: > Sevan Janiyan wrote: > > Hello, > > Attached patches remove the main() prototype from > > src/{sbin,usr.bin,usb.sbin} > > yes! I'm 100% certain I added those prototypes because some version of gcc with the appropriate warning flags

Re: Drop main() prototype

2016-09-05 Thread Ted Unangst
Sevan Janiyan wrote: > Hello, > Attached patches remove the main() prototype from > src/{sbin,usr.bin,usb.sbin} yes!

Drop main() prototype

2016-09-04 Thread Sevan Janiyan
Hello, Attached patches remove the main() prototype from src/{sbin,usr.bin,usb.sbin} Next sweep will be to mark usage() as static __dead. Sevan Index: usr.bin/cap_mkdb/cap_mkdb.c === RCS file: /cvs/src/usr.bin/cap_mkdb/cap_mkdb.c,v