Subject: CVS commit: src
To: None <source-changes@netbsd.org>
From: Luke Mewburn <lukem@netbsd.org>
List: source-changes
Date: 05/17/1999 05:16:04
Module Name: src
Committed By: lukem
Date: Mon May 17 12:16:04 UTC 1999
Modified Files:
src/bin/ls: Makefile extern.h ls.c
Added Files:
src/bin/ls: main.c
Log Message:
Rename ls.c::main() -> ls.c::ls_main(), and add a wrapper in main.c::main().
This allows other programs to link in against ls (e.g, ftpd), without having
to have hacks to deal with multiple main()s.
Yes, I know this is ugly. The clean alternative (move lots of this
into libutil, yada yada yada) isn't fun, and the effort probably isn't
justified...