From 323d955fce69a0781b3bd6633e427216aaa60414 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 06 Dec 2015 23:05:02 -0500 Subject: lib/*.sh: Don't use use() --- (limited to 'lib') diff --git a/lib/block.sh b/lib/block.sh index 7021eda..f056305 100644 --- a/lib/block.sh +++ b/lib/block.sh @@ -18,9 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use rand -use vardata - is_block() { local dev="${1}" diff --git a/lib/cmd.sh b/lib/cmd.sh index 0c382dc..aa8386e 100644 --- a/lib/cmd.sh +++ b/lib/cmd.sh @@ -18,9 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use output -use locale - cmds=' ' running_cmd= diff --git a/lib/control.sh b/lib/control.sh index 14ec928..b25d00b 100644 --- a/lib/control.sh +++ b/lib/control.sh @@ -18,9 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use output -use locale - control_file= control_line_nr= diff --git a/lib/deps.sh b/lib/deps.sh index 2c759ba..862caff 100644 --- a/lib/deps.sh +++ b/lib/deps.sh @@ -18,8 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use archplat - parse_dep() { local dep="${1}" diff --git a/lib/fd.sh b/lib/fd.sh index 7debcad..0d5a50e 100644 --- a/lib/fd.sh +++ b/lib/fd.sh @@ -18,9 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use output -use locale - _FD_MIN=3 # Shells and the file descriptors they reserve for the user: # * Debian Almquist Shell diff --git a/lib/feed.sh b/lib/feed.sh index 39ecca4..4288c2a 100644 --- a/lib/feed.sh +++ b/lib/feed.sh @@ -18,9 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use fd -use control - feed_dep_fields= feed_pkg_cb= feed_deps_cb= diff --git a/lib/install.sh b/lib/install.sh index fbe54a9..e1e93df 100644 --- a/lib/install.sh +++ b/lib/install.sh @@ -18,11 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use profile -use dir -use fd -use pkg - install_deps= install_fnames= install_md5sums= diff --git a/lib/opkg.sh b/lib/opkg.sh index 59a1a19..9e5c3c4 100644 --- a/lib/opkg.sh +++ b/lib/opkg.sh @@ -18,8 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use session - opkg_install_all() { local root="${1}" diff --git a/lib/package.sh b/lib/package.sh index 20c99ab..3175202 100644 --- a/lib/package.sh +++ b/lib/package.sh @@ -18,9 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use locale -use output - package_dir= package_format= diff --git a/lib/profile.sh b/lib/profile.sh index 436dbdc..b0c2601 100644 --- a/lib/profile.sh +++ b/lib/profile.sh @@ -18,9 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use output -use locale - PROFILES=' @profiles@ ' profile= diff --git a/lib/rand.sh b/lib/rand.sh index b4b33fb..872d3fb 100644 --- a/lib/rand.sh +++ b/lib/rand.sh @@ -18,9 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use output -use locale - rand_x=1 srand() diff --git a/lib/session.sh b/lib/session.sh index f94d8e6..6453fae 100644 --- a/lib/session.sh +++ b/lib/session.sh @@ -18,12 +18,6 @@ # along with the ProteanOS Development Kit. If not, see # . -use rand -use mutex -use output -use locale -use profile - session_id= session_root= session_arch= -- cgit v0.9.1