diff options
Diffstat (limited to 'lib/parseopt.c')
-rw-r--r-- | lib/parseopt.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/parseopt.c b/lib/parseopt.c index cc0c9a6..cf5319d 100644 --- a/lib/parseopt.c +++ b/lib/parseopt.c @@ -1,5 +1,5 @@ /* This file is part of Smap. - Copyright (C) 2008, 2010, 2014 Sergey Poznyakoff + Copyright (C) 2008, 2010, 2014, 2017 Sergey Poznyakoff Smap is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -20,6 +20,7 @@ #include <smap/parseopt.h> #include <smap/diag.h> #include <string.h> +#include <ctype.h> static struct smap_option const * find_opt(struct smap_option const *opt, const char *str, const char **value, @@ -175,8 +176,6 @@ smap_parseopt(struct smap_option const *opt, int argc, char **argv, int flags, int *pindex) { int i; - long n; - char *s; int rc = 0; const char *modname = argv[0]; |