summaryrefslogtreecommitdiffstats
path: root/src/package
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 23:34:03 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 23:34:03 (EDT)
commitc1f6988495e3b7205f947fc5dee5a539aedac5da (patch)
tree23d06f1062d001d5d0b845681b931c1b04602d3c /src/package
parent13ca657716d5b6920629b68ade7781212f5833d7 (diff)
src/package/2.sh: Make callback functions "static"
Diffstat (limited to 'src/package')
-rw-r--r--src/package/2.sh8
1 files changed, 4 insertions, 4 deletions
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}"