diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-14 14:02:07 +0100 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-14 14:02:07 +0100 |
| commit | 6cff54c0b97d162e8c0461a28b10c260495458f2 (patch) | |
| tree | 45742187276df0cf25b1a9b463eddeeced08c379 /src/lib/parse_options.h | |
| parent | dc4d0c9a4034769089776755f80c20159ed26653 (diff) | |
preliminary cleanup patches
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/lib/parse_options.h')
| -rw-r--r-- | src/lib/parse_options.h | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/src/lib/parse_options.h b/src/lib/parse_options.h index 218cc2bf..55ca0e2d 100644 --- a/src/lib/parse_options.h +++ b/src/lib/parse_options.h @@ -1,8 +1,24 @@ +/* + Copyright (C) 2010 ABRT team + Copyright (C) 2010 RedHat Inc + + 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 Software Foundation; either version 2 of the License, or + (at your option) any later version. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + 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., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. +*/ #ifndef PARSE_OPTIONS_H #define PARSE_OPTIONS_H - #ifdef __cplusplus extern "C" { #endif @@ -45,8 +61,8 @@ struct options { unsigned parse_opts(int argc, char **argv, const struct options *opt, const char *usage); -#define parse_usage_and_die abrt_parse_usage_and_die -void parse_usage_and_die(const char *usage, const struct options *opt); +#define show_usage_and_die abrt_show_usage_and_die +void show_usage_and_die(const char *usage, const struct options *opt); #ifdef __cplusplus } |
