From c1f6988495e3b7205f947fc5dee5a539aedac5da Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 25 Apr 2019 23:34:03 -0400 Subject: src/package/2.sh: Make callback functions "static" --- (limited to 'src/package') diff --git a/src/package/2.sh b/src/package/2.sh index 75785a9..ea0e10d 100644 --- a/src/package/2.sh +++ b/src/package/2.sh @@ -20,7 +20,7 @@ package_2_build_deps= -package_2_build_deps_field_cb() +_package_2_build_deps_field_cb() { local name="${1}" local value="${2}" @@ -44,7 +44,7 @@ package_2_get_build_deps() package_2_build_deps='' parse_control "${package_dir}/control" \ - package_2_build_deps_field_cb false + _package_2_build_deps_field_cb false substvars "$(reduce_deps "${package_2_build_deps}" false \ "${arch}" "${plat}")" @@ -52,7 +52,7 @@ package_2_get_build_deps() return 0 } -package_2_substvar_cb() +_package_2_substvar_cb() { local name="${1}" local value="${2}" @@ -71,7 +71,7 @@ package_2_set_substvars() if [ -f "${package_dir}/substvars" ]; then parse_control "${package_dir}/substvars" \ - package_2_substvar_cb false + _package_2_substvar_cb false fi set_substvar 'Host-Arch' "${arch}" -- cgit v0.9.1