diff options
author | P. J. McDermott <pj@pehjota.net> | 2017-07-22 14:52:24 (EDT) |
---|---|---|
committer | P. J. McDermott <pj@pehjota.net> | 2017-07-22 14:52:24 (EDT) |
commit | d024f67fc56275433a30c220aca6da0f49346c87 (patch) | |
tree | 85d4b32c79f1a47da8479c7345c7d2e4e4ab4ebf /src | |
parent | 0ad2c3323907bb06a57975c7c9f627d5ec2b5695 (diff) |
src/*.sh, src/cmd/*.sh: Drop use() calls
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd.sh | 3 | ||||
-rw-r--r-- | src/cmd/copy-suite.sh | 2 | ||||
-rw-r--r-- | src/cmd/include.sh | 2 | ||||
-rw-r--r-- | src/cmd/process-incoming.sh | 4 | ||||
-rw-r--r-- | src/cmd/remove-suite.sh | 2 | ||||
-rw-r--r-- | src/cmd/remove.sh | 2 | ||||
-rw-r--r-- | src/control.sh | 3 | ||||
-rw-r--r-- | src/db.sh | 2 | ||||
-rw-r--r-- | src/garbage.sh | 4 | ||||
-rw-r--r-- | src/include.sh | 5 | ||||
-rw-r--r-- | src/index.sh | 4 | ||||
-rw-r--r-- | src/main.sh | 5 | ||||
-rw-r--r-- | src/remove.sh | 4 | ||||
-rw-r--r-- | src/suite.sh | 6 |
14 files changed, 0 insertions, 48 deletions
@@ -20,9 +20,6 @@ [ "x${_CMD_SM+set}" = 'xset' ] && return 0 _CMD_SM=1 -use output -use locale - cmds= load_cmds() diff --git a/src/cmd/copy-suite.sh b/src/cmd/copy-suite.sh index 987fb45..d17a9d4 100644 --- a/src/cmd/copy-suite.sh +++ b/src/cmd/copy-suite.sh @@ -17,8 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -use suite - cmd_copy_suite_main() { local src_suite="${1}" diff --git a/src/cmd/include.sh b/src/cmd/include.sh index 4d279af..aa8fd30 100644 --- a/src/cmd/include.sh +++ b/src/cmd/include.sh @@ -17,8 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -use include - cmd_include_main() { local changes= diff --git a/src/cmd/process-incoming.sh b/src/cmd/process-incoming.sh index 1eb52ae..6f07547 100644 --- a/src/cmd/process-incoming.sh +++ b/src/cmd/process-incoming.sh @@ -17,10 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -use locale -use output -use include - cmd_process_incoming_main() { local changes= diff --git a/src/cmd/remove-suite.sh b/src/cmd/remove-suite.sh index 5fc24ae..394b7fd 100644 --- a/src/cmd/remove-suite.sh +++ b/src/cmd/remove-suite.sh @@ -17,8 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -use suite - cmd_remove_suite_main() { local suite="${1}" diff --git a/src/cmd/remove.sh b/src/cmd/remove.sh index 30dffa6..26660b6 100644 --- a/src/cmd/remove.sh +++ b/src/cmd/remove.sh @@ -17,8 +17,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -use remove - cmd_remove_main() { local suite="${1}" diff --git a/src/control.sh b/src/control.sh index 6907b3d..a49ea98 100644 --- a/src/control.sh +++ b/src/control.sh @@ -20,9 +20,6 @@ [ "x${_CONTROL_SM+set}" = 'xset' ] && return 0 _CONTROL_SM=1 -use output -use locale - control_file= control_line_nr= @@ -20,8 +20,6 @@ [ "x${_DB_SM+set}" = 'xset' ] && return 0 _DB_SM=1 -use dir - # # Functions for the suites indices # diff --git a/src/garbage.sh b/src/garbage.sh index a6f1a3d..1af64bd 100644 --- a/src/garbage.sh +++ b/src/garbage.sh @@ -20,10 +20,6 @@ [ "x${_GARBAGE_SM+set}" = 'xset' ] && return 0 _GARBAGE_SM=1 -use locale -use output -use dir - collect_garbage() { local cur_time= diff --git a/src/include.sh b/src/include.sh index 42ccf24..14476ee 100644 --- a/src/include.sh +++ b/src/include.sh @@ -20,11 +20,6 @@ [ "x${_INCLUDE_SM+set}" = 'xset' ] && return 0 _INCLUDE_SM=1 -use control -use db -use locale -use output - _INCLUDE_CHANGES_FIELDS='Format Source Binary Version Architecture Platform Distribution Maintainer Changed-By Date Description Changes Files' diff --git a/src/index.sh b/src/index.sh index 8749897..13d206b 100644 --- a/src/index.sh +++ b/src/index.sh @@ -20,10 +20,6 @@ [ "x${_INDEX_SM+set}" = 'xset' ] && return 0 _INDEX_SM=1 -use locale -use output -use dir - feed_add_package() { local chan="${1}" diff --git a/src/main.sh b/src/main.sh index ed6be4f..8ee09c4 100644 --- a/src/main.sh +++ b/src/main.sh @@ -76,11 +76,6 @@ use() fi } -use locale -use cmd -use index -use garbage - main() { local cmd= diff --git a/src/remove.sh b/src/remove.sh index a3a06dd..1cd6431 100644 --- a/src/remove.sh +++ b/src/remove.sh @@ -20,10 +20,6 @@ [ "x${_REMOVE_SM+set}" = 'xset' ] && return 0 _REMOVE_SM=1 -use locale -use output -use db - remove_source_from_suite() { local chan="${1}" diff --git a/src/suite.sh b/src/suite.sh index 4de39ef..5d00914 100644 --- a/src/suite.sh +++ b/src/suite.sh @@ -20,12 +20,6 @@ [ "x${_SUITE_SM+set}" = 'xset' ] && return 0 _SUITE_SM=1 -use db -use dir -use remove -use locale -use output - copy_suite() { local src_chan="${1}" |