fix up function style

The "function" keyword is superfluous, not in POSIX, is inconsistent
between bash files, and generally makes me angry.  So convert every
instance to the form:
	foo() {

TEST=`cbuildbot x86-generic-paladin` works
TEST=`bash -n cros_gestures/` works
TEST=`bash -n cros_run_unit_tests` works
TEST=`cros_run_unit_tests --help` works
TEST=`bash -n` works
TEST=` --help` works

Change-Id: Ib4ea9c6a71658f64366522550a640232c4fb6826
Reviewed-by: Chris Sosa <>
Commit-Ready: Mike Frysinger <>
Tested-by: Mike Frysinger <>
3 files changed