summaryrefslogtreecommitdiff
path: root/utils.h
diff options
context:
space:
mode:
authorSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>2014-12-19 14:31:54 +0900
committerDavid Sterba <dsterba@suse.cz>2014-12-19 15:07:02 +0100
commit0e4e1b1ed92bb687bd5a7decc3b54118b6cf401b (patch)
tree628df0d0a99884f86ef636699b825cf5e3cdb052 /utils.h
parentca8638eae38db98874a3744d12b0d2bb42b802ee (diff)
downloadbtrfs-progs-0e4e1b1ed92bb687bd5a7decc3b54118b6cf401b.tar.gz
btrfs-progs: cleanup: avoid to use literal for getopt val
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 0464c2d..34fd5e4 100644
--- a/utils.h
+++ b/utils.h
@@ -40,6 +40,9 @@
#define ARGV0_BUF_SIZE PATH_MAX
+#define GETOPT_VAL_SI 256
+#define GETOPT_VAL_IEC 257
+
int check_argc_exact(int nargs, int expected);
int check_argc_min(int nargs, int expected);
int check_argc_max(int nargs, int expected);