summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2015-12-06 23:05:02 (EST)
committer P. J. McDermott <pj@pehjota.net>2015-12-06 23:05:02 (EST)
commit323d955fce69a0781b3bd6633e427216aaa60414 (patch)
tree77b70359dd19e10277e6c27fca68456c760b9da9
parentdc3becd69c86c088d1affd77ce55035de5be53b6 (diff)
lib/*.sh: Don't use use()
-rw-r--r--lib/block.sh3
-rw-r--r--lib/cmd.sh3
-rw-r--r--lib/control.sh3
-rw-r--r--lib/deps.sh2
-rw-r--r--lib/fd.sh3
-rw-r--r--lib/feed.sh3
-rw-r--r--lib/install.sh5
-rw-r--r--lib/opkg.sh2
-rw-r--r--lib/package.sh3
-rw-r--r--lib/profile.sh3
-rw-r--r--lib/rand.sh3
-rw-r--r--lib/session.sh6
12 files changed, 0 insertions, 39 deletions
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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-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
# <http://www.gnu.org/licenses/>.
-use rand
-use mutex
-use output
-use locale
-use profile
-
session_id=
session_root=
session_arch=