summaryrefslogtreecommitdiff
path: root/lib/command.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-01-26 10:53:47 -0500
committerDonald Sharp <sharpd@nvidia.com>2023-01-26 11:40:33 -0500
commit8586a88abbe22161244f5082b59c10a471c876be (patch)
tree1613689f8ec289be0a97358d4ad5ba2b0b8c52ee /lib/command.h
parent9ca6d3db2b5c44fa38792a9a1000873ac264fcc7 (diff)
lib: Remove global variable exposure `struct host host`
This was only used in one place and we have accessor functions now. So let's use them. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/command.h')
-rw-r--r--lib/command.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/command.h b/lib/command.h
index bce4fb9e1c..8f5d96053c 100644
--- a/lib/command.h
+++ b/lib/command.h
@@ -619,9 +619,6 @@ extern void print_version(const char *);
extern int cmd_banner_motd_file(const char *);
extern void cmd_banner_motd_line(const char *line);
-/* struct host global, ick */
-extern struct host host;
-
struct cmd_variable_handler {
const char *tokenname, *varname;
void (*completions)(vector out, struct cmd_token *token);