summaryrefslogtreecommitdiff
path: root/tools/lvm2cmd.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2006-08-18 21:17:18 +0000
committerAlasdair Kergon <agk@redhat.com>2006-08-18 21:17:18 +0000
commit6711231a13260d13b61ad6e4fb5f8e1f86d87257 (patch)
tree487290198d5c7e07ec1f2768b1891ce93f2bdf40 /tools/lvm2cmd.c
parentade81b8aed9e2c8ab57428c789fc974dc707552d (diff)
downloadlvm2-6711231a13260d13b61ad6e4fb5f8e1f86d87257.tar.gz
Move CMDLIB code into separate file and record whether static build.
Diffstat (limited to 'tools/lvm2cmd.c')
-rw-r--r--tools/lvm2cmd.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/lvm2cmd.c b/tools/lvm2cmd.c
new file mode 100644
index 000000000..85579f461
--- /dev/null
+++ b/tools/lvm2cmd.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright (C) 2006 Red Hat, Inc. All rights reserved.
+ *
+ * This file is part of LVM2.
+ *
+ * This copyrighted material is made available to anyone wishing to use,
+ * modify, copy, or redistribute it subject to the terms and conditions
+ * of the GNU General Public License v.2.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
+#include "lvm2cmdline.h"
+#include "lvm2cmd.h"
+
+void *lvm2_init(void)
+{
+ return cmdlib_lvm2_init(0);
+}