tools lib: Adopt skip_spaces() from the kernel sources
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Jun 2019 00:23:18 +0000 (21:23 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 26 Jun 2019 00:23:18 +0000 (21:23 -0300)
commit7bd330de43fd5693e90be13dac7fbd9af3b6335d
tree0e3a3029bbb61d14730f84ae08a0be89d6dd2477
parentbd9860bf050f77c4e260a9ae10a5587009ad6e07
tools lib: Adopt skip_spaces() from the kernel sources

Same implementation, will be used to replace ad-hoc equivalent code in
tools/.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: André Goddard Rosa <andre.goddard@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-dig691cg9ripvoiprpidthw7@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/include/linux/string.h
tools/lib/string.c