From d537ebc858c5ca0c881d7e2bb59c6650aab1c686 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 25 Apr 2019 19:50:17 -0400 Subject: src/feed.sh: Make callback functions "static" --- 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 -- cgit v0.9.1