xref: /netbsd-src/bin/ls/main.c (revision 51fe790c4cf8a24d5834f152ef246fed6f9f4c2f)
1*51fe790cSsevan /*	$NetBSD: main.c,v 1.5 2016/09/05 01:00:07 sevan Exp $	*/
237085e7cSlukem 
337085e7cSlukem /*-
437085e7cSlukem  * Copyright (c) 1999 The NetBSD Foundation, Inc.
537085e7cSlukem  * All rights reserved.
637085e7cSlukem  *
737085e7cSlukem  * This code is derived from software contributed to The NetBSD Foundation
837085e7cSlukem  * by Luke Mewburn.
937085e7cSlukem  *
1037085e7cSlukem  * Redistribution and use in source and binary forms, with or without
1137085e7cSlukem  * modification, are permitted provided that the following conditions
1237085e7cSlukem  * are met:
1337085e7cSlukem  * 1. Redistributions of source code must retain the above copyright
1437085e7cSlukem  *    notice, this list of conditions and the following disclaimer.
1537085e7cSlukem  * 2. Redistributions in binary form must reproduce the above copyright
1637085e7cSlukem  *    notice, this list of conditions and the following disclaimer in the
1737085e7cSlukem  *    documentation and/or other materials provided with the distribution.
1837085e7cSlukem  *
1937085e7cSlukem  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2037085e7cSlukem  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2137085e7cSlukem  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2237085e7cSlukem  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2337085e7cSlukem  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2437085e7cSlukem  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2537085e7cSlukem  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2637085e7cSlukem  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2737085e7cSlukem  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2837085e7cSlukem  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2937085e7cSlukem  * POSSIBILITY OF SUCH DAMAGE.
3037085e7cSlukem  */
3137085e7cSlukem 
3237085e7cSlukem #include <sys/cdefs.h>
3337085e7cSlukem 
3437085e7cSlukem #ifndef lint
35*51fe790cSsevan __RCSID("$NetBSD: main.c,v 1.5 2016/09/05 01:00:07 sevan Exp $");
3637085e7cSlukem #endif /* not lint */
3737085e7cSlukem 
3837085e7cSlukem #include <sys/types.h>
3937085e7cSlukem #include <fts.h>
4037085e7cSlukem 
4137085e7cSlukem #include "ls.h"
4237085e7cSlukem #include "extern.h"
4337085e7cSlukem 
4437085e7cSlukem int
main(int argc,char * argv[])45ba2e04dcSlukem main(int argc, char *argv[])
4637085e7cSlukem {
4737085e7cSlukem 
4878509e7fSchristos 	return ls_main(argc, argv);
4937085e7cSlukem 	/* NOTREACHED */
5037085e7cSlukem }
51