From d573fec37c6c20ba12ec36ca2a188a65497511bd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 Feb 2011 05:25:15 +0000 Subject: Tidy up programs. git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2933 a436a847-0d15-0410-975c-d299462d15a1 --- utils/lv2_list.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'utils/lv2_list.c') diff --git a/utils/lv2_list.c b/utils/lv2_list.c index 6186517..b092656 100644 --- a/utils/lv2_list.c +++ b/utils/lv2_list.c @@ -1,5 +1,5 @@ -/* lv2_list - List system installed LV2 plugins. - * Copyright (C) 2007-2009 David Robillard +/* lv2_list - List installed LV2 plugins. + * Copyright (C) 2007-2011 David Robillard * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free @@ -16,12 +16,13 @@ * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. */ +#include #include #include -#include -#include "slv2-config.h" + #include "slv2/slv2.h" +#include "slv2-config.h" void list_plugins(SLV2Plugins list, bool show_names) @@ -38,18 +39,16 @@ list_plugins(SLV2Plugins list, bool show_names) } } - void print_version() { printf("lv2_list (slv2) " SLV2_VERSION "\n"); - printf("Copyright (C) 2007-2009 David Robillard \n"); + printf("Copyright (C) 2007-2011 David Robillard \n"); printf("License: GNU GPL version 2 or later \n"); printf("This is free software: you are free to change and redistribute it.\n"); printf("There is NO WARRANTY, to the extent permitted by law.\n"); } - void print_usage() { @@ -64,7 +63,6 @@ print_usage() printf("this (and all other slv2 based LV2 hosts) will search for plugins.\n"); } - int main(int argc, char** argv) { @@ -96,4 +94,3 @@ main(int argc, char** argv) return 0; } - -- cgit v1.2.1