aboutsummaryrefslogtreecommitdiffstats
path: root/utils.h
diff options
context:
space:
mode:
authorAnand Jain <anand.jain@oracle.com>2015-10-10 22:30:56 +0800
committerDavid Sterba <dsterba@suse.com>2015-11-02 09:35:03 +0100
commit3b879467b11ee727bba93969868beeefa72a097d (patch)
tree72e1412b66bdc24d013fa8fe84bb3bcb29c5a406 /utils.h
parent8a9c9adbe5a96ceb34989e77ef407d48f488ccd0 (diff)
downloadbtrfs-progs-3b879467b11ee727bba93969868beeefa72a097d.tar.gz
btrfs-progs-3b879467b11ee727bba93969868beeefa72a097d.tar.xz
btrfs-progs-3b879467b11ee727bba93969868beeefa72a097d.zip
btrfs-progs: move is_numerical() helper to utils and rename
Signed-off-by: Anand Jain <anand.jain@oracle.com> [ moved to util.c and renamed ] Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'utils.h')
-rw-r--r--utils.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils.h b/utils.h
index 1dc12ec..9961ec7 100644
--- a/utils.h
+++ b/utils.h
@@ -270,6 +270,7 @@ const char *get_argv0_buf(void);
"-t|--tbytes show sizes in TiB, or TB with --si"
unsigned int get_unit_mode_from_arg(int *argc, char *argv[], int df_mode);
+int string_is_numerical(const char *str);
static inline void warning(const char *fmt, ...)
{