summaryrefslogtreecommitdiff
path: root/bin/ls/main.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-02-23 23:54:18 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-02-23 23:54:18 +0000
commitaf04c88decbe855074b45d7c62392e4826a4cb5c (patch)
treebad040cfc0887c928262e1b8092a5dea575cfeab /bin/ls/main.c
parenta34af602146f26db0c2178463e9fc0c2220f59e0 (diff)
Break out main to an own file so we can include ls in ftpd.
Diffstat (limited to 'bin/ls/main.c')
-rw-r--r--bin/ls/main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/bin/ls/main.c b/bin/ls/main.c
new file mode 100644
index 00000000000..21a35e85730
--- /dev/null
+++ b/bin/ls/main.c
@@ -0,0 +1,17 @@
+/* $OpenBSD: main.c,v 1.1 1999/02/23 23:54:17 art Exp $ */
+
+/*
+ * Public domain - no warranty.
+ */
+
+#include <sys/cdefs.h>
+
+int ls_main __P((int argc, char **argv));
+
+int
+main(argc, argv)
+ int argc;
+ char **argv;
+{
+ return ls_main(argc, argv);
+}