diff options
author | David Robillard <d@drobilla.net> | 2011-02-12 05:25:15 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-12 05:25:15 +0000 |
commit | d573fec37c6c20ba12ec36ca2a188a65497511bd (patch) | |
tree | d39eba0a0aab4d759ef1477f7be9fa17044910d4 /utils/lv2_list.c | |
parent | 40b37f3b0fc9523e81bf7142fb02b61bb8a5eed9 (diff) | |
download | lilv-d573fec37c6c20ba12ec36ca2a188a65497511bd.tar.gz lilv-d573fec37c6c20ba12ec36ca2a188a65497511bd.tar.bz2 lilv-d573fec37c6c20ba12ec36ca2a188a65497511bd.zip |
Tidy up programs.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@2933 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'utils/lv2_list.c')
-rw-r--r-- | utils/lv2_list.c | 15 |
1 files changed, 6 insertions, 9 deletions
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 <drobilla.net> +/* lv2_list - List installed LV2 plugins. + * Copyright (C) 2007-2011 David Robillard <http://drobilla.net> * * 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 <stdbool.h> #include <stdio.h> #include <string.h> -#include <stdbool.h> -#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 <http://drobilla.net>\n"); + printf("Copyright (C) 2007-2011 David Robillard <http://drobilla.net>\n"); printf("License: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>\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; } - |