summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 19:50:17 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-25 19:50:17 (EDT)
commitd537ebc858c5ca0c881d7e2bb59c6650aab1c686 (patch)
treef463c782fc48536cbcb1b438a66b98a773ff8c0b
parent7083680b1167a9a4f8ef2c4cc8354d23fba58a03 (diff)
src/feed.sh: Make callback functions "static"
-rw-r--r--src/feed.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/feed.sh b/src/feed.sh
index 94f9b62..f7ba942 100644
--- a/src/feed.sh
+++ b/src/feed.sh
@@ -112,7 +112,7 @@ feed_download_cert()
return 0
}
-feed_field_cb()
+_feed_field_cb()
{
local name="${1}"
local value="${2}"
@@ -139,7 +139,7 @@ feed_field_cb()
return 0
}
-feed_para_cb()
+_feed_para_cb()
{
local new_deps=
local dep=
@@ -197,7 +197,7 @@ feed_find_pkgs()
feed_pkg=''
feed_deps=''
- parse_control '-' feed_field_cb feed_para_cb 'Package' <<-EOF
+ parse_control '-' _feed_field_cb _feed_para_cb 'Package' <<-EOF
$({ ${GUNZIP} -c -- "${feed_idx}" || cat "${feed_idx}"; } \
2>/dev/null)
EOF